PortScan › Port guide › Port 8080
Port 8080: Where Dev Servers, Tomcat and Proxies Get Exposed
Port 8080 is the HTTP alternate port used by dev servers, Tomcat, Jenkins and proxies. The danger: forgotten admin consoles and open proxies. How to clean up.
What is port 8080?
By convention, port 8080 serves as the "second HTTP port". On systems where using port 80 requires administrator privileges, ordinary user programs often use 8080 instead, and it is also the default port for Tomcat, Jenkins and all kinds of development servers.
So whatever answers on port 8080 is usually not the "real service" but something for development or administration — and it is often left running and forgotten.
When it is normally open
- Application servers behind a reverse proxy (only the proxy should be exposed externally)
- Admin tools such as Tomcat and Jenkins
Risks if it is open
Admin consoles with default accounts
Get into Tomcat Manager with a default or weak account and you can upload a WAR file and run code on the server. An unauthenticated Jenkins allows the same through its script console.
Open proxies
If a proxy (Squid, etc.) on 8080 forwards any request on anyone's behalf, other people's traffic goes out from this server's IP. It can become the origin of illegal activity.
Exposed development servers
A development server running in debug mode may show source code and environment variables on its error pages.
Security checklist
- Expose only a reverse proxy on 80/443 externally, and have 8080 listen on
127.0.0.1only. - Remove Tomcat Manager if you do not use it; if you do, restrict access by IP with
RemoteAddrValve. - Always enable authentication on Jenkins and turn off anonymous read access.
- If it is a proxy, limit allowed clients to the internal network.
How to check whether port 8080 is open
From outside (is it exposed to the internet?)
Whether your server or home router accepts port 8080 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 8080On the server (what is listening?)
Windows (PowerShell):
netstat -ano | findstr ":8080 "
Get-NetTCPConnection -LocalPort 8080 -State Listen | Select LocalAddress,OwningProcess
Linux:
sudo ss -tlnp | grep ':8080 '
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 8080 on a server from another computer, use Test-NetConnection server-address -Port 8080 on Windows or nc -vz server-address 8080 on Linux and macOS.
How to close or restrict port 8080
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 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -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 8080 from office" -Direction Inbound -Protocol TCP -LocalPort 8080 -RemoteAddress 203.0.113.10 -Action Allow
Linux (ufw)
sudo ufw deny 8080/tcp
# Allow a single IP only
sudo ufw allow from 203.0.113.10 to any port 8080 proto tcp
On a cloud server, also check port 8080 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:8080:8080 is the reliable option.
Router
At home or in a small office, open the router's admin page and check whether port 8080 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 8080 on your PC is directly visible from the internet.
How to read the scan result
- Open — something accepted a connection on port 8080. Work through the risks above.
- Closed — the packet reached the device, but nothing is listening on that port, so it was refused immediately (RST). The service is off.
- Filtered — no response. A firewall or the ISP is dropping packets, or the device is off. From an exposure point of view this is the safest state.
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
- Do some routers use port 8080 for their admin page?
- Yes. Some routers open remote management on port 8080. Turning off "remote management" in the router settings closes it.
Related ports
Last updated 2026-11-04 · Use this guide to check systems you manage. Scanning systems without permission may carry legal liability.