Port reference › Web

Port 8080 · HTTP alternate

Tomcat, proxies, dev servers

TCP Web Exposure risk: Medium

What is port 8080 used for?

A common alternative to port 80. Default for Apache Tomcat, Jenkins, many Spring Boot examples and proxy servers. Popular because ports below 1024 need root.

Registered port (1024-49151): the range used by ordinary applications.

Security notes

Admin consoles (Tomcat Manager, Jenkins) left open without auth are a frequent incident. If it must be public, put it behind a reverse proxy on 80/443.

Allow port 8080 through the firewall

This port is risky to expose, so the commands below allow only the IPs you specify.

# Replace 203.0.113.10/32 with the IP or network you want to allow
sudo ufw allow from 203.0.113.10/32 to any port 8080 proto tcp
sudo ufw status

Check whether port 8080 is open

sudo ss -tlpn | grep ':8080 '

Ports used together

Other web ports

443 HTTPS 3000 Dev server / Grafana 5000 Dev server / Synology DSM 5001 Synology DSM (HTTPS) 8888 Jupyter 1080 SOCKS proxy