While working with linux os, We need to open some kinds of port like for Redis database server, Use the following command for the same.
Step 1: Allow the Port 6379
You need to execute the given command to allow port 80 using UFW utility.
sudo ufw allow 6379
Step 2: Get UFW firewall Status
Now we need to check and verify the open port by using the given command.
sudo ufw status
How to open port 6379 redis database using UFW firewall on ubuntu linux