TCP · Port 80IANA Registered

Port 80 — HTTP (Hypertext Transfer Protocol)

The foundation of the World Wide Web for transferring unencrypted web pages, images, and API data.

⚡ Primary Use Cases & Environments

  • ✓Standard web traffic
  • ✓HTTP-01 Let’s Encrypt ACME certificate validation
  • ✓Redirecting visitors to HTTPS port 443

🛡️ Security & Vulnerability Analysis

Traffic is completely unencrypted and vulnerable to eavesdropping and MITM tampering. Modern web servers should serve HTTP 301 Permanent Redirects to HTTPS.

🔧 Network Diagnostics & Inspection

1. Check Active Listening Sockets (Local Host)
Terminal Command
$ sudo ss -tuln | grep :80
Inspects whether any local process daemon is bound to port 80.
2. Remote Port & Service Scan (Nmap)
Terminal Command
$ nmap -p 80 -sV <target-ip>
Probes target IP to determine whether port 80 is open, closed, or filtered.
3. Wireshark Capture / Display Filter
http or tcp.port == 80Wireshark Filter

🔥 Firewall Configuration Rules (UFW & iptables)

UFW (Uncomplicated Firewall)
Terminal Command
$ sudo ufw allow 80/tcp
Applies a persistent Linux UFW firewall rule for port 80.
iptables Command
Terminal Command
$ sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Appends a direct netfilter kernel rule to the INPUT chain for port 80.

❓ Frequently Asked Questions (FAQ)

Should I keep port 80 open if my site uses HTTPS?

Yes! Port 80 should remain open so it can immediately redirect HTTP users to HTTPS (port 443) and handle automated Let’s Encrypt ACME challenge renewals.

How do I test if a web server is responding on port 80?

Run "curl -I http://example.com" or "curl -v http://example.com" to inspect the HTTP status code and response headers.

Related Networking Tools & Guides