Port 8888: Jupyter / alt HTTP

Port 8888 (TCP) is used by Jupyter / alt HTTP. Jupyter Notebook default and other dev tools (unofficial use).

8888Port
TCPProtocol
ddi-tcp-1IANA service name
DevOps & dev serversCategory

Port range

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

Security

Only open port 8888 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 8888 in a firewall

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

Check if port 8888 is open

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

Other devops & dev servers ports

Frequently asked questions

What is port 8888 used for?
Jupyter / alt HTTP. Jupyter Notebook default and other dev tools (unofficial use).
Is port 8888 TCP or UDP?
TCP.