Skip to content

Port 80: HTTP — Complete Guide

TL;DR:

Standard unencrypted web traffic. Used for redirect to 443 and Let's Encrypt challenge. Standard TCP port, used by the HTTP service.

Check your host & ports →

What is port 80

Port 80 is reserved by IANA for the HTTP service. Standard unencrypted web traffic. Used for redirect to 443 and Let's Encrypt challenge.

Check if the port is open online

To find out if port 80 is open on your host (or a third-party's — for diagnostics), use our port checker. Enter a domain and a port number — results arrive in 1-2 seconds.

Check port 80 →

Security

An open port is a potential attack vector. General rules:

  • Close everything you don't use (firewall default-deny)
  • For admin ports (22 SSH, 3389 RDP, 3306 MySQL) — IP whitelist or VPN
  • Base cases: 80+443 open for web; 22 — from work/VPN only; DB ports — loopback only
  • Use fail2ban for SSH/admin panels

Understanding Port 80: The Backbone of HTTP Traffic

Port 80 is the default port for HTTP (Hypertext Transfer Protocol), which is the foundation of data communication on the World Wide Web. When a user enters a URL in their browser that starts with 'http://', the browser typically connects to the web server via port 80. This unencrypted traffic allows users to access web pages without the added security layer provided by HTTPS, which operates over port 443.

HTTP traffic on port 80 is crucial for several functionalities, including:

  • Web Browsing: Users access websites using HTTP URLs, establishing connections through this port.
  • Redirects: Web servers often redirect HTTP traffic to HTTPS for enhanced security, using HTTP 301 or 302 status codes.
  • Let's Encrypt Challenges: During SSL certificate issuance, Let's Encrypt may need to verify domain ownership through challenges that utilize port 80.

Despite the rise of HTTPS, port 80 remains a vital component of web infrastructure, especially for legacy systems and applications that have not yet transitioned to secure protocols.

How to Check if Port 80 is Open on Your Server

To ensure that port 80 is accessible for HTTP traffic, you can perform several checks on your server. Here are some practical methods to determine if port 80 is open:

  • Using Telnet: You can use the telnet command to check the status of port 80 on your server. Open your terminal and run:
telnet your-server-ip 80

If the connection is successful, your terminal will display a blank screen or a response from the web server. If it fails, you may see a connection error.

  • Using Nmap: Nmap is a powerful network scanning tool that can help you check the status of port 80. To scan your server, use the following command:
nmap -p 80 your-server-ip

The output will indicate whether port 80 is open or closed.

  • Using Online Port Checkers: There are various online tools that can check if port 80 is open on your server. Simply enter your server's IP address, and the tool will perform the check for you.

By using these methods, you can confirm the accessibility of port 80 and troubleshoot any issues related to HTTP traffic.

Common Issues with Port 80 and Troubleshooting Steps

While port 80 is essential for HTTP traffic, several issues can arise that may prevent proper functioning. Here are some common problems and troubleshooting steps:

  • Firewall Restrictions: Firewalls may block port 80, preventing access to HTTP services. Check your firewall settings to ensure that traffic on port 80 is allowed. For example, on a Linux server using iptables, you can allow traffic with:
iptables -A INPUT -p tcp --dport 80 -j ACCEPT

  • Web Server Configuration: Misconfigurations in your web server (e.g., Apache, Nginx) can lead to issues with port 80. Verify that your server is listening on port 80. For instance, in Apache, check your httpd.conf or sites-available files for:
  • Listen 80

  • DNS Resolution: If your domain is not resolving to the correct IP address, users may not reach your server over port 80. Use tools like dig or nslookup to confirm that your domain points to the correct IP.
  • Example: To check DNS resolution, run:

    dig your-domain.com

    By identifying and resolving these common issues, you can ensure that port 80 remains functional for HTTP traffic, improving accessibility for users visiting your site.

    Learn more

    Sources

    Frequently Asked Questions

    Why close port 80?

    Every open port is an attacker's entry point. If the service is not used (or uses a different port), close it to minimise attack surface.

    How to check port 80 without Enterno.io?

    From a local machine: nc -zv hostname 80 or telnet hostname 80. The online checker is simpler — from different IPs, one click.

    Try the live tool that powered this guide

    Free plan — 10 monitors, checks every 5 min, no card required. Upgrade for 1-minute interval and multi-region monitoring.