Port 8080: HTTP alternate

Port 8080 (TCP) is used by HTTP alternate. The classic alternative web port: Tomcat, Jenkins, proxies and many dev servers.

8080Port
TCPProtocol
http-altIANA service name
WebCategory

Port range

8080 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Web ports are meant to be public, but keep the server patched, serve HTTPS, and do not expose admin panels on the same port without authentication.

Open port 8080 in a firewall

ufw         sudo ufw allow 8080/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=8080/tcp
Windows     New-NetFirewallRule -DisplayName "HTTP alternate 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow

Check if port 8080 is open

nc -vz example.com 8080
Test-NetConnection example.com -Port 8080   # PowerShell
sudo ss -tulpn | grep ':8080 '   # what is listening locally (Linux)

Other web ports

Frequently asked questions

What is port 8080 used for?
HTTP alternate. The classic alternative web port: Tomcat, Jenkins, proxies and many dev servers.
Is port 8080 TCP or UDP?
TCP.