Port 8080: HTTP-alt
Port 8080 is the conventional alternate HTTP port, registered with IANA as http-alt. It carries exactly the same protocol as port 80, and its whole reason for existing is that binding to a port above 1023 does not require root.
| Port number | 8080 |
|---|---|
| Service | Alternate HTTP / proxy |
| Protocol | TCP |
| Category | Web |
| Default encryption | No |
| IANA service name | http-alt |
| IANA transports | TCP, UDP |
| Used in practice | TCP |
Why do applications use port 8080 instead of port 80?
On Unix-like systems, binding to a port below 1024 historically requires root privileges. Running an entire application server as root to claim port 80 is a poor trade, so the convention became to run it unprivileged on 8080 and put something in front.
That something is normally a reverse proxy: nginx, Apache, Traefik or a cloud load balancer listens on 80 and 443, terminates TLS, and forwards to the app on 8080. The app never needs elevated privileges and never handles certificates.
There are modern alternatives, such as granting the CAP_NET_BIND_SERVICE capability on Linux or using systemd socket activation, but the 8080 convention long outlived the constraint that created it and is now simply what people expect.
Which ports are related to port 8080?
The port a reader usually needs next is the encrypted or plaintext twin of this one, so those are listed first rather than buried in a generic list.
| Port | Relationship | Why it matters |
|---|---|---|
| 80 | companion | The privileged default. A reverse proxy usually listens on 80 and 443 and forwards to an app on 8080. |
| 8443 | encrypted | The TLS counterpart in the same convention, though IANA registers 8443 to something else entirely. |
| 3000 | alternate | The other dominant development-server convention. IANA does assign 3000, to hbci, a German home-banking protocol unrelated to web development. |
What commonly listens on port 8080?
- Apache Tomcat, Jetty and Spring Boot applications
- Jenkins, which ships with 8080 as its default
- Squid and other forward proxies, alongside 3128
- Containerised web apps published behind a reverse proxy
How do I check whether port 8080 is open?
Port 8080 carries TCP, so a connection either completes its handshake or it does not, which makes the check definitive.
| Question | Command | What to know |
|---|---|---|
| Is it open on a remote host? | nc -vz example.com 8080 | A TCP handshake either completes or it does not, so netcat gives a definitive answer in one line. |
| Same check on Windows | Test-NetConnection example.com -Port 8080 | Built into PowerShell. TcpTestSucceeded in the output is the answer; telnet is not installed by default on modern Windows. |
| What is listening locally? | ss -tlnp | grep ':8080 ' | Lists the process bound to port 8080 on Linux. On macOS use lsof -nP -iTCP:8080 -sTCP:LISTEN, on Windows netstat -ano | findstr :8080 |
Replace example.com with the host you are testing. A blocked port and a port with nothing listening on it look identical from the outside, so if a service should be running, check locally before blaming the firewall.
Frequently asked questions
Is port 8080 the same as port 80?
The protocol is identical: both carry plain HTTP. The difference is only the number, and therefore the privilege needed to bind it. A URL must name port 8080 explicitly, because a browser assumes port 80 when no port is given.
Is port 8080 secure?
No more or less than port 80: it carries unencrypted HTTP by default. Encryption depends on whether TLS is configured, not on the port number. In a typical deployment a proxy handles TLS on 443 and forwards plaintext to 8080 over a trusted local network.
What is port 8080 used for?
Port 8080 is the conventional alternate HTTP port, registered with IANA as http-alt. It carries exactly the same protocol as port 80, and its whole reason for existing is that binding to a port above 1023 does not require root.
Is port 8080 TCP or UDP?
IANA assigns port 8080 on TCP, UDP. In practice it carries TCP. The registry description is literally HTTP Alternate (see port 80). So unlike many high ports, 8080 really is registered for this use.
Should I open port 8080 on my firewall?
Only if you specifically need HTTP-alt. Expose it to the smallest set of trusted sources, and never open database or Windows-service ports to the whole internet.