Open 80 port Ubuntu Xenial 16.04
I go via PuTTY:sudo ufw status
,
but Nmap scan:
PORT STATE SERVICE
22/tcp open ssh
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-dssudo netstat -tulpn | grep 80:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1806/sshd
tcp6 0 0 :::22 :::* LISTEN 1806/sshd
udp6 0 0 /mac adress here/ :::* 1847/ntpdHow'd I open port 80 actually?
101 Answer
So it seems you have a firewall rule to open port 80, but you don't have any process listening on it. Did you actually installed nginx, apache or some other webserver?. We assume webserver because 80 is default port for http connections.
After installing it, run
sudo netstat -tulpn | grep :80and you will see the port being used by nginx, and will also get a responde in the browser when reaching the ip.