Port 8080
Port 8080: What Uses It and How to Open It
Port 8080 is the standard alternative to port 80 for HTTP, registered by IANA as http-alt. It is the default port for Apache Tomcat, Jenkins, Spring Boot and WildFly, and a popular choice for proxies, development servers and device admin pages. Services use it because ports below 1024 need administrator rights on Linux and port 80 is often taken by the main web server. Traffic on 8080 is plain, unencrypted HTTP unless the service adds TLS.
- Protocol
- TCP (HTTP)
- IANA name
- http-alt
- Encrypted?
- No, unless TLS is configured
- HTTPS counterpart
- 8443
- URL format
- http://host:8080
Last updated:
What uses port 8080?
| Software | Default port | Notes |
|---|---|---|
| Apache Tomcat | 8080 (HTTP), 8443 (HTTPS) | Set in the Connector element of conf/server.xml. |
| Jenkins | 8080 | Change with --httpPort or the JENKINS_PORT setting. |
| Spring Boot | 8080 | Change with server.port in application.properties. |
| WildFly / JBoss | 8080 | Admin console on 9990. |
| Jira (self-managed) | 8080 | Set in server.xml. |
| HTTP proxies | 8080 (common) | Many proxies and web filters use 8080 or 3128. |
| Routers and IP cameras | 8080 (common) | Often used for the remote admin page. |
Port 8080 vs port 80
Both ports carry the same HTTP protocol. A common production setup runs the application on 8080 behind a reverse proxy such as Nginx, which listens on 80 and 443 and forwards requests internally. Then 8080 does not need to be open to the internet at all. For the standard ports, see the HTTP port 80 guide and the HTTPS port 443 guide.
| Port 80 | Port 8080 | |
|---|---|---|
| Role | Default HTTP port | Alternative HTTP port |
| URL | http://example.com | http://example.com:8080 |
| Needs root/admin to bind on Linux | Yes (below 1024) | No |
| Blocked by home ISPs | Often | Rarely |
| Encrypted | No | No |
Fix “port 8080 is already in use”
Find the process that holds the port, then stop it or move one of the services to another port.
Windows
The last column of the first command is the process ID. Look it up with the second command.
netstat -ano | findstr :8080
tasklist /FI "PID eq 1234"Linux and macOS
sudo ss -ltnp 'sport = :8080'
sudo lsof -i :8080Move an application to another port
# Spring Boot (application.properties)
server.port=8081
# Jenkins
java -jar jenkins.war --httpPort=8081
# Tomcat (conf/server.xml)
<Connector port="8081" protocol="HTTP/1.1" />How to open port 8080
- 1
Make the service listen on all interfaces
Many development servers listen only on 127.0.0.1. Bind to 0.0.0.0 (for example
python -m http.server 8080 --bind 0.0.0.0) so other machines can connect. - 2
Allow the port in the firewall
On Windows run
New-NetFirewallRule -DisplayName "HTTP 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow. On Ubuntu runsudo ufw allow 8080/tcp. In the cloud, add an inbound rule to the security group. - 3
Forward the port on your router
For a server at home, forward TCP 8080 to the device's local IP address, then confirm it with the port forwarding test.
- 4
Test it from outside
Run the open port checker on your public IP and port 8080, or request the page with
curl -I http://YOUR-IP:8080.
Is it safe to open port 8080?
An open port is only as safe as the service behind it. Port 8080 often exposes admin interfaces such as the Jenkins dashboard, the Tomcat Manager or a router login page, and attackers scan for it constantly.
- Never leave default credentials on anything reachable on 8080.
- Put admin tools behind a VPN or an IP allowlist instead of opening them to the internet.
- Serve public traffic through a reverse proxy on 443 with TLS, and keep 8080 internal.
- Check what is exposed with the port scanner Web servers preset.
Port 8080 FAQ
Is port 8080 HTTP or HTTPS?
Port 8080 normally carries plain HTTP. The usual alternative HTTPS port is 8443, although any port can serve TLS if the application is configured for it.
Is port 8080 the same as port 80?
They carry the same protocol, but 80 is the default, so browsers use it without a port in the URL. For 8080 you must add :8080 to the address.
Is port 8080 TCP or UDP?
TCP. HTTP on port 8080 uses TCP; nothing standard uses UDP 8080.
What is using port 8080 on my computer?
Run netstat -ano | findstr :8080 on Windows or sudo lsof -i :8080 on macOS and Linux to see the process ID, then look up the process name.
Is it safe to open port 8080?
It is safe for a maintained web application with proper authentication. Do not expose admin panels, development servers or anything with default passwords.
Why is port 8080 open on my router?
Some routers use 8080 for remote management. If you do not need it, disable remote administration in the router settings and confirm with the open port checker that 8080 is closed.
References
- IANA Service Name and Port Number Registry — lists 8080 as http-alt.
- RFC 9110: HTTP Semantics — defines the default HTTP port and authority syntax.
- Apache Tomcat: HTTP Connector — how Tomcat's 8080 and 8443 connectors are configured.