PORT 8080 / TCPWeb & HTTPExposure Risk: Medium
Port 8080: HTTP Alternate / Tomcat / Proxy — Alternative HTTP Port, Spring Boot, Jenkins & Reverse Proxies
Widely used for Java Spring Boot, Apache Tomcat, Jenkins CI, cAdvisor, and non-root HTTP servers.
Default Service
HTTP Alternate / Tomcat / Proxy
Process: java / nginx / node
Transport Protocol
TCP
IANA Registered Port 8080
Docker Port Flag
-p 8080:8080
Container to Host Mapping
How to Check & Kill Process on Port 8080 (EADDRINUSE Fix)
macOS & Linux (lsof / kill)
# Find process using port 8080 sudo lsof -i :8080 # Instantly kill process on port 8080 lsof -ti:8080 | xargs kill -9
Windows (PowerShell & CMD)
# Find PID listening on port 8080 netstat -ano | findstr :8080 # Force kill by PID taskkill /PID <PID_NUMBER> /F
Cross-Platform Node.js One-Liner
# Kill port 8080 via npx npx kill-port 8080 # Or diagnose via Castov CLI npx castov fix "EADDRINUSE :::8080"
Linux Firewall (UFW) & Connectivity Test
# Test if port 8080 is reachable nc -zv localhost 8080 # Allow or deny port 8080 in UFW sudo ufw allow 8080/tcp
Frequently Asked Questions about Port 8080
What is Port 8080 used for?
Port 8080 is the standard network port for HTTP Alternate / Tomcat / Proxy (Alternative HTTP Port, Spring Boot, Jenkins & Reverse Proxies) operating over TCP. The typical system daemon or process is java / nginx / node.
How do I kill a process running on Port 8080 (EADDRINUSE)?
On macOS and Linux, run: lsof -ti:8080 | xargs kill -9 (or npx kill-port 8080). On Windows PowerShell/CMD, run: netstat -ano | findstr :8080 and then taskkill /PID <PID> /F.
Is it safe to expose Port 8080 to the internet?
Port 8080 has a Medium security risk profile. Widely used for Java Spring Boot, Apache Tomcat, Jenkins CI, cAdvisor, and non-root HTTP servers.