Free tech learning for everyone, from basics to pro

Port 8080: HTTP alternate (Alternative HTTP port)

What port 8080 (TCP) does, the security risks of leaving it open, and how to secure and test it.

Port8080
TransportTCP
ServiceAlternative HTTP port (HTTP alternate)
EncryptedNo (unless configured)

What is port 8080?

8080 is a common alternative port for web servers, proxies and admin interfaces, often used for testing or when port 80 is taken.

Common uses

  • Web proxies
  • Java application servers such as Tomcat
  • Admin pages of routers, cameras and appliances

Security risks

  • Forgotten test servers and admin consoles exposed to the internet
  • Default passwords on device web interfaces

How to secure port 8080

  • Find and close unused web services with regular scans
  • Change default passwords and put admin pages behind a VPN
  • Use HTTPS

How to check if port 8080 is open

WhereCommand
Scan from another machinenmap -p 8080 <host>
Windows (PowerShell)Test-NetConnection <host> -Port 8080
Linux (what is listening)sudo ss -tulpn | grep :8080
Windows (what is listening)netstat -ano | findstr :8080

Only scan systems you own or have permission to test.

Example: block it at the internet edge (Cisco)

For a service that should stay inside your network, deny it on the internet-facing interface. Put the rule before any broader permit statements:

ip access-list extended INTERNET-IN
 remark Block HTTP alternate from the internet
 deny   tcp any any eq 8080
 permit ip any any
!
interface GigabitEthernet0/0
 ip access-group INTERNET-IN in

In a real network the final line would be your normal inbound policy, not "permit ip any any". Build and check rules with the ACL builder.

Related ports

Frequently asked questions

What is port 8080 used for?

Port 8080 (TCP) is used by Alternative HTTP port (HTTP alternate). 8080 is a common alternative port for web servers, proxies and admin interfaces, often used for testing or when port 80 is taken.

Is it safe to open port 8080?

Only if the service needs to be reached and is configured securely. Find and close unused web services with regular scans.

How do I check if port 8080 is open?

From another computer, run nmap -p 8080 followed by the host address. On the server itself, ss -tulpn on Linux or netstat -ano on Windows shows whether anything is listening on 8080.

Learn more: TCP, UDP and ports explained and firewall basics.

Get free updates by email

New notes, tools, CCNA and Security+ tips and important security news from FM TecHub, explained simply. Free, about twice a month. Unsubscribe anytime; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesup

Free · no spam · past emails · powered by Buttondown