The most common alternative HTTP port: Tomcat, Jenkins, many Java and Go apps, proxies, container images and home routers' admin pages listen here.
The most common alternative HTTP port: Tomcat, Jenkins, many Java and Go apps, proxies, container images and home routers' admin pages listen here.
Expose only to trusted sources. Often an app server that should sit behind a reverse proxy rather than be reached directly. Exposed 8080 services are frequently admin consoles (Jenkins, Tomcat manager) that get brute-forced or exploited; check what is listening before you open it.
sudo ss -tlnp 'sport = :8080'sudo lsof -nP -i :8080sudo netstat -tlnp | grep ':8080 'netstat -ano | findstr :8080Get-NetTCPConnection -LocalPort 8080 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 8080Test-NetConnection HOST -Port 8080Replace 203.0.113.10 with the address or network you trust. With ufw, make sure the default incoming policy is deny.
sudo ufw allow from 203.0.113.10 to any port 8080 proto tcpsudo iptables -A INPUT -p tcp --dport 8080 -s 203.0.113.10 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 8080 -j DROPsudo nft add rule inet filter input ip saddr 203.0.113.10 tcp dport 8080 accept
sudo nft add rule inet filter input tcp dport 8080 dropNew-NetFirewallRule -DisplayName 'TCP 8080 trusted' -Direction Inbound -Protocol TCP -LocalPort 8080 -RemoteAddress 203.0.113.10 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.