Port reference › Web
Port 80 · HTTP
Unencrypted web
TCP Web Exposure risk: Low
What is port 80 used for?
The default web port. Today it mostly redirects to HTTPS (443) and serves Let’s Encrypt HTTP-01 validation.
Well-known port (0-1023): opening it on Linux needs root (or CAP_NET_BIND_SERVICE).
Security notes
Never send logins or personal data over plain HTTP. Keep 80 only for redirecting to HTTPS.
Allow port 80 through the firewall
This port is generally fine to expose publicly.
sudo ufw allow 80/tcp
sudo ufw status sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --reload sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT New-NetFirewallRule -DisplayName "Allow TCP 80" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow # Replace sg-0123456789abcdef0 with your security group ID
aws ec2 authorize-security-group-ingress --group-id sg-0123456789abcdef0 --protocol tcp --port 80 --cidr 0.0.0.0/0 Check whether port 80 is open
sudo ss -tlpn | grep ':80 ' netstat -ano | findstr :80 nc -zv SERVER 80
# Windows
Test-NetConnection SERVER -Port 80 sudo lsof -i :80 Ports used together
- 443 HTTPS · TLS-encrypted web, HTTP/3
- 8080 HTTP alternate · Tomcat, proxies, dev servers