TCP · Port 8080IANA Registered

Port 8080 — HTTP Alternate / Proxy

Popular alternate port for HTTP web servers, reverse proxies (Nginx, Traefik, Apache Tomcat), and local development servers.

⚡ Primary Use Cases & Environments

  • ✓Node.js, Go, Spring Boot development servers
  • ✓Apache Tomcat web applications
  • ✓Corporate HTTP caching proxy servers

🛡️ Security & Vulnerability Analysis

Often forgotten on cloud firewalls because it is a non-standard port. Ensure administrative control panels on port 8080 are protected with HTTPS and authentication.

🔧 Network Diagnostics & Inspection

1. Check Active Listening Sockets (Local Host)
Terminal Command
$ sudo ss -tuln | grep :8080
Inspects whether any local process daemon is bound to port 8080.
2. Remote Port & Service Scan (Nmap)
Terminal Command
$ nmap -p 8080 -sV <target-ip>
Probes target IP to determine whether port 8080 is open, closed, or filtered.
3. Wireshark Capture / Display Filter
tcp.port == 8080Wireshark Filter

🔥 Firewall Configuration Rules (UFW & iptables)

UFW (Uncomplicated Firewall)
Terminal Command
$ sudo ufw allow 8080/tcp
Applies a persistent Linux UFW firewall rule for port 8080.
iptables Command
Terminal Command
$ sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
Appends a direct netfilter kernel rule to the INPUT chain for port 8080.

❓ Frequently Asked Questions (FAQ)

Why do developers use port 8080 instead of port 80?

On Linux and macOS, binding to privileged ports below 1024 (like port 80) requires root/sudo privileges. Port 8080 allows non-root developers to run local web servers safely.

Related Networking Tools & Guides