80/TCPHTTP
Web · Well-known port · OSI layer 7
Unencrypted websites. Today, mainly needed for redirects to HTTPS and Let’s Encrypt validation (HTTP-01).
IANA: officially registered as http
You decide which services we may enable for analytics, personalization, and external content.
We use cookies and similar technologies on our website to personalize content, embed external media, and better understand how individual areas are used.
Necessary cookies
These entries support essential functions such as security, stability, and form processing.
Optional sections
Your data may be processed with your consent or on the basis of legitimate interests. In the cookie settings, you can reject or explicitly allow each optional category.
Some services process personal data in third countries. By consenting, you also agree to this transfer. You can find more information in our Privacy Policy.
You can reopen and change your selection at any time. · 1.0.2
Port 80 is the default port for HTTP, the web’s unencrypted protocol. Here you’ll find key details about the port and ready-to-use firewall commands for your server.
Built by Justin Schuessler
Try the commands on your own VPS, with root access and your own firewall.
Add multiple ports one at a time, up to 12.
Web · Well-known port · OSI layer 7
Unencrypted websites. Today, mainly needed for redirects to HTTPS and Let’s Encrypt validation (HTTP-01).
IANA: officially registered as http
Firewall commands
Open port
sudo ufw allow 80/tcpFor Ubuntu and Debian. ufw creates the rule for both IPv4 and IPv6. If ufw is disabled, allow SSH first (sudo ufw allow 22/tcp), then enable it with sudo ufw enable, or you'll lock yourself out.
On a ZAP-Hosting VPS with an active network firewall, you also need to allow the port in the Customer Panel.
Port 80 explained
A web server receives HTTP requests on port 80. If you enter a domain in your browser without https://, the first request often still goes to port 80. Today, the port is therefore mostly used to redirect visitors to HTTPS. Let’s Encrypt also uses port 80 for its HTTP-01 challenge to verify that you control the domain before issuing a certificate.
HTTP originated at CERN in the early 1990s as a protocol for the World Wide Web. HTTP/1.0 was described in RFC 1945, and HTTP/1.1 initially in RFC 2068 and RFC 2616. Today, RFC 9110 covers HTTP semantics and RFC 9112 covers HTTP/1.1. IANA lists port 80 as a Well-Known Port named “http”.
Everything sent over port 80 is unencrypted and can be read or modified in transit. Never send passwords, form data, or session cookies over it. Use port 80 only to redirect to HTTPS, and enable HSTS so browsers subsequently connect directly to port 443. You can leave port 80 open as long as it only handles the redirect and the ACME challenge.
More ports
These ports are often part of the same setup. Click one to see its explanation and firewall commands.
View all well-known ports and the complete IANA list
Port list source: IANA Service Name and Transport Protocol Port Number Registry, as of October 22, 2026. iana.org
Discover more
Calculate the network address, broadcast address, subnet mask, and usable host range from a CIDR address, and convert between CIDR and IP ranges (IPv4 and IPv6).
Built by Jakub Martyniak
Interactively learn the 7 layers of the OSI model: click layers, assign terms such as switch, ARP, or port 443, and explore animated encapsulation, a quiz, and a cheat sheet for the IHK exam.
Built by Justin Schuessler
Interactively learn the 4 layers of the TCP/IP model (DoD model) according to RFC 1122, with OSI model mapping, animated encapsulation, a port quiz, and a cheat sheet.
Built by Justin Schuessler
Check whether specific ports are open on an IP or hostname—select a protocol or game instead of scanning all ports at once.
Built by Sebastian Rademacher
FAQ
Quick answers about port 80.
HTTP on port 80 uses TCP. IANA has also reserved the port for UDP, but UDP 80 is not used in practice. A TCP rule is therefore enough in the firewall.
To open the port with ufw, use sudo ufw allow 80/tcp. With firewalld, use sudo firewall-cmd --permanent --add-port=80/tcp followed by sudo firewall-cmd --reload.
In most cases, yes. Visitors who enter the domain without https:// first reach port 80 and need the redirect there. The Let’s Encrypt HTTP-01 challenge also requires port 80 for certificate renewal.
An open port alone is not a risk. It becomes dangerous when sensitive data is sent over HTTP or an outdated application is running behind it. Limit port 80 to redirects to HTTPS to keep the attack surface small.
Any more questions?
Contact SupportWith a ZAP-Hosting VPS, you have root access, can set up services and firewall rules yourself, and can immediately see which ports are open.
No setup. No risk. Online in seconds.
Looking for more tools? View all network tools