Port 80 — HTTP
TCP well-known
What runs on port 80
Unencrypted web traffic. Still the default port a browser tries when no scheme is given.
Security considerations
Serve nothing here but a 301 redirect to HTTPS. Add HSTS so browsers stop trying port 80 at all.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :80
sudo ss -lntp | grep :80
# Windows
netstat -ano | findstr :80
Get-NetTCPConnection -LocalPort 80
# is it reachable from outside?
nc -zv example.com 80
curl -v telnet://example.com:80
Freeing the port
# find the process, then stop it
sudo lsof -ti :80 | xargs kill # Linux / macOS
netstat -ano | findstr :80 # note the PID, then:
taskkill /PID <pid> /F # Windows