8080 TCP
HTTP Alternate & Java Enterprise IANA Registered (HTTP Alternate)

Port 8080 — Vue CLI / Webpack / Spring Boot / Tomcat

The official IANA HTTP Alternate port. Extensively used by Spring Boot enterprise Java applications, Apache Tomcat, Jenkins CI/CD, Webpack Dev Server, and Vue CLI.

Default Protocol TCP / IP
Typical Localhost URL http://localhost:8080
Default Process java.exe / node.exe
Primary Framework Spring Boot / Tomcat / Webpack

1. What is Port 8080?

Port 8080 was officially designated by IANA as the alternate port for HTTP (`http-alt`). In developer environments where port 80 is reserved for production web servers or requires administrative privileges, 8080 became the global standard for proxy caches, application servers, and enterprise frameworks.

The number 8080 is an obvious doubling of standard HTTP port 80. When Java Servlet specifications and Apache Tomcat emerged in 1999, Tomcat chose 8080 as its default HTTP connector port, a convention inherited by Spring Framework, Spring Boot, Jenkins, and later Webpack Dev Server.

2. How Port 8080 Works Under the Hood

1
Socket Creation & Binding

Process creates a Winsock socket (`AF_INET`/`AF_INET6`, `SOCK_STREAM`) and binds to local port 8080.

2
Kernel TCP Listener Table

Windows TCP/IP stack records the listening state in `MIB_TCPTABLE_OWNER_PID`.

3
Request Handling & Loopback Dispatch

Inbound HTTP/TCP traffic to `127.0.0.1:8080` is delivered directly through Windows loopback with zero physical NIC overhead.

When Spring Boot starts on Windows: 1. The embedded Tomcat / Jetty / Undertow web container initializes a TCP server socket on port 8080. 2. It allocates a worker thread pool (typically 200 threads by default) to handle concurrent HTTP requests. 3. Windows Winsock registers the listening socket under `java.exe`. 4. If Spring Actuator is enabled, management endpoints are exposed at `http://localhost:8080/actuator/health`.

3. Common Conflicts & 'Web server failed to start. Port 8080 was already in use.'

⚠️ Common Error Message
Web server failed to start. Port 8080 was already in use.

Port 8080 is the most contested port in corporate software engineering. A developer working on a Spring Boot microservice will frequently discover that: - A legacy Jenkins service installed as a Windows background service is listening on 8080. - An orphaned Webpack dev server from an old Vue project is holding 8080. - A local proxy or corporate VPN gateway has bound 8080. In Spring Boot, this triggers the clear failure message: `APPLICATION FAILED TO START: Web server failed to start. Port 8080 was already in use.` Changing `server.port` in `application.properties` or instantly stopping the zombie process via PortPeek resolves this immediately.

💡 Pro Tip: Because port 8080 is an industry standard across Java, Node, Go, and proxies, it is the #1 most frequently collided port in enterprise development.

4. How to Find & Stop the Process on Port 8080

If port 8080 is locked by an orphaned process or background service, choose one of the following methods:

Terminal Commands (Manual) PortPeek (1-Click Instant)

PowerShell (Recommended):

Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess | Stop-Process -Force

Classic CMD (Command Prompt):

for /f "tokens=5" %a in ('netstat -aon ^| findstr :8080') do taskkill /f /pid %a
PortPeek

Or simply use PortPeek

Never memorize netstat flags or parse PIDs again.

1. Press Win + Alt + P anywhere on Windows.
2. See Port 8080 with its owning process (java.exe / node.exe) and memory usage.
3. Click Stop Process to kill it instantly, or click the item to launch in your browser.
Download PortPeek (Free & Open Source)

5. Standards & Related Ports

Official Specifications:

  • IANA Service Name and Transport Protocol Port Number Registry
  • RFC 7230, IANA Service Name and Port Number Registry
  • Windows Sockets 2 (Winsock) API Documentation