Port 8008: Alternative HTTP

Port 8008 (TCP) is used by Alternative HTTP. Alternate HTTP port used by some appliances.

8008Port
TCPProtocol
http-altIANA service name
WebCategory

Port range

8008 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Web ports are meant to be public, but keep the server patched, serve HTTPS, and do not expose admin panels on the same port without authentication.

Open port 8008 in a firewall

ufw         sudo ufw allow 8008/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 8008 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=8008/tcp
Windows     New-NetFirewallRule -DisplayName "Alternative HTTP 8008" -Direction Inbound -Protocol TCP -LocalPort 8008 -Action Allow

Check if port 8008 is open

nc -vz example.com 8008
Test-NetConnection example.com -Port 8008   # PowerShell
sudo ss -tulpn | grep ':8008 '   # what is listening locally (Linux)

Other web ports

Frequently asked questions

What is port 8008 used for?
Alternative HTTP. Alternate HTTP port used by some appliances.
Is port 8008 TCP or UDP?
TCP.