Cannot open ports with UFW
I cannot open port 80 or any other port with ufw… I cannot see in the logs if the connections are rejected or not.
I read your article and performed the recommended steps but nothing happens… This is the output of 'ufw status':
To Action From
-- ------ ----
80/tcp ALLOW IN Anywhere
22 ALLOW IN Anywhere
80 ALLOW IN Anywhere
80/tcp (v6) ALLOW IN Anywhere (v6)
22 (v6) ALLOW IN Anywhere (v6)
80 (v6) ALLOW IN Anywhere (v6)
Pls help me figure out how to open these ports in my firewall, thanks!
I see that you're having trouble opening firewall ports with UFW. Based on the output you sent int, those rules look right to me, so I wonder if either the service you need isn't running or if maybe there is some default rule in your 'iptables' configuration that is blocking these ports (like a default policy for incoming packets). I would recommend running:
sudo netstat -plunt
and attaching the output here so that we can take a look.
Linode Support Team