Port 80
http, www and www-http · SCTP/TCP/UDP
| Range | System/well-known port (0–1023) |
|---|---|
| Protocol | SCTP/TCP/UDP |
| Service | http, www and www-http |
| Reference | RFC 9110, RFC 9260 |
| Modified | 2022-02-07 |
Frequently asked questions
What is port 80 used for?
Port 80 is registered with the IANA for http, www and www-http (SCTP/TCP/UDP). Description: World Wide Web HTTP; HTTP.
Is port 80 a well-known port?
Yes. Port 80 is in the range 0–1023 (system or well-known ports). On Linux and macOS only privileged processes may bind to these ports.
How do I check whether port 80 is open?
Locally on Linux with ss -tulpn | grep ':80\b', on Windows with netstat -ano | findstr :80. To test a remote host use Test-NetConnection <host> -Port 80 in PowerShell or nc -zv <host> 80 on Linux/macOS.
How do I open port 80 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 80/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=80/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 80" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | http | World Wide Web HTTP |
| UDP | http | World Wide Web HTTP |
| TCP | www | World Wide Web HTTP |
| UDP | www | World Wide Web HTTP |
| TCP | www-http | World Wide Web HTTP |
| UDP | www-http | World Wide Web HTTP |
| SCTP | http | HTTP |