PortScan › Port guide › Port 80

Port 80 (HTTP): Is It OK to Leave Open? Web Server Checklist

TCP 80HTTPWebExposure risk: Low

Port 80 is unencrypted HTTP. Normal for a website, but a problem if it never redirects to HTTPS or exposes a router or NAS admin page. How to check it.

What is port 80?

Port 80 is HTTP, the unencrypted web port. Typing http:// in the address bar connects to port 80. Today most sites use port 80 for one job only: accepting the request and immediately sending it on to HTTPS (port 443).

If you run a website, having port 80 open is normal. Let's Encrypt certificate issuance (HTTP-01 validation) also needs port 80. What you need to check is "what" is answering on port 80.

When it is normally open

Risks if it is open

Exposed admin interfaces

It is common for the admin pages of routers, NAS devices, IP cameras and printers to be reachable from the internet on port 80. A default password or a single firmware vulnerability is enough to lose the whole device.

Plaintext logins

A login form that does not redirect to HTTPS sends passwords in plaintext, where they are exposed on any public Wi-Fi.

Default pages and information leaks

An "Apache2 Ubuntu Default Page", directory listings, or a detailed version in the Server: header tell attackers which vulnerabilities to try.

Security checklist

How to check whether port 80 is open

From outside (is it exposed to the internet?)

Whether your server or home router accepts port 80 from the internet can only be confirmed by connecting from outside. A check from inside the same network bypasses the router's firewall and gives a different answer.

PortScan opens a real TCP connection from the Cloudflare edge and reports Open, Closed or Filtered. Members can scan every port on their own IP for free and other targets free once a day.

Check port 80

On the server (what is listening?)

Windows (PowerShell):

netstat -ano | findstr ":80 "
Get-NetTCPConnection -LocalPort 80 -State Listen | Select LocalAddress,OwningProcess

Linux:

sudo ss -tlnp | grep ':80 '

If it listens on 0.0.0.0 or [::] it is open on every network; 127.0.0.1 means only that machine can connect. To test port 80 on a server from another computer, use Test-NetConnection server-address -Port 80 on Windows or nc -vz server-address 80 on Linux and macOS.

How to close or restrict port 80

The best fix is to turn the service off or make it listen only on 127.0.0.1 (see the checklist above). If you need the service but must keep it off the internet, use a firewall.

Windows Firewall

# Administrator PowerShell
New-NetFirewallRule -DisplayName "Block TCP 80" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Block
# To allow a single IP instead (block rules take precedence, so use this instead of the rule above)
New-NetFirewallRule -DisplayName "Allow TCP 80 from office" -Direction Inbound -Protocol TCP -LocalPort 80 -RemoteAddress 203.0.113.10 -Action Allow

Linux (ufw)

sudo ufw deny 80/tcp
# Allow a single IP only
sudo ufw allow from 203.0.113.10 to any port 80 proto tcp

On a cloud server, also check port 80 in the security group (inbound rules), which is separate from the OS firewall. For services running in Docker, the rules Docker creates can bypass ufw, so binding the port to localhost with -p 127.0.0.1:80:80 is the reliable option.

Router

At home or in a small office, open the router's admin page and check whether port 80 is in the port forwarding list, whether DMZ is enabled, and whether any program opened ports by itself through UPnP. If any of the three applies, port 80 on your PC is directly visible from the internet.

How to read the scan result

The verdict can depend on where you connect from. Many ISPs (including most Korean ISPs) block some ports such as 135, 139 and 445 on their network, so the same server can look Filtered from inside that network and Closed from abroad.

FAQ

I don't have a website, but port 80 is open
It is most likely your router's remote management, a NAS or camera you port-forwarded, or a web server installed by default on the machine. Open http://your-IP in a browser and see what comes up.
The banner in my PortScan results shows HTTP/1.1 301
It means the server is sending you to another address — usually an HTTPS redirect. That is normal.
443 HTTPS8080 HTTP alternate port8443 HTTPS alternate

Last updated 2026-11-04 · Use this guide to check systems you manage. Scanning systems without permission may carry legal liability.