Port 80: Hypertext Transfer Protocol
Port 80 is the default port for the http URI scheme. RFC 9110 states that TCP port 80 is used when an http URI gives no port, while https defaults to TCP port 443. Web servers, reverse proxies, and HTTP management interfaces on network devices listen on it.
Updated
Port Details
- Port
- 80
- Transport
- TCP
- Service
- HTTP
- IANA service name
- http, www, www-http
- Range
- System port (0-1023)
Related Ports
Security Exposure
Traffic on port 80 has no TLS protection, unlike https, which RFC 9110 defines with confidentiality and integrity protection. Credentials, session cookies, and content sent over plain HTTP can be read or changed in transit. MITRE ATT&CK also lists HTTP management services on 80/TCP among targets of password guessing, and the risk of an exposed port 80 depends heavily on the application behind it.
Hardening
- Redirect HTTP requests to HTTPS and serve content and logins only over TLS.
- Send a Strict-Transport-Security header so browsers use HTTPS for later visits (RFC 6797).
- Keep device and application administration interfaces off internet-facing port 80.
- Patch web server and application software.
Monitoring
Review web server access logs for repeated authentication failures on administrative paths, scanner user agents, and unexpected HTTP methods. Regular port inventories should account for every host listening on port 80.
Frequently Asked Questions
Is port 80 TCP or UDP?→
HTTP on port 80 uses TCP. RFC 9110 names TCP port 80 as the default for http URIs, even though IANA also lists UDP and SCTP entries.
What is the difference between port 80 and port 443?→
Port 80 is the default for http and port 443 is the default for https, which runs HTTP over TLS (RFC 9110).
Should port 80 be closed?→
Not necessarily. RFC 6797 says an HSTS host should answer requests received over plain HTTP with a permanent redirect to HTTPS, so port 80 can stay open for that redirect alone. The Strict-Transport-Security header then tells browsers to use secure connections directly on later visits.
Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 80 is not guaranteed to be HTTP. Exploited-in-the-wild data from the CISA KEV catalog (CC0).