80Port
TCPProtocol
httpIANA service nameWebCategory
Port range
80 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.
Security
Web ports are meant to be public, but keep the server patched, serve HTTPS, and do not expose admin panels on the same port without authentication.
Open port 80 in a firewall
ufw sudo ufw allow 80/tcp iptables sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=80/tcp Windows New-NetFirewallRule -DisplayName "HTTP 80" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow
Check if port 80 is open
nc -vz example.com 80 Test-NetConnection example.com -Port 80 # PowerShell sudo ss -tulpn | grep ':80 ' # what is listening locally (Linux)