Port reference › Web

Port 8888 · Jupyter

Jupyter Notebook / Lab

TCP Web Exposure risk: High

What is port 8888 used for?

Default port for Jupyter Notebook and JupyterLab.

Registered port (1024-49151): the range used by ordinary applications.

Security notes

Jupyter runs arbitrary code from the browser. Exposing it without a token hands over the whole server. Connect through an SSH tunnel.

Allow port 8888 through the firewall

This port is risky to expose, so the commands below allow only the IPs you specify.

# Replace 203.0.113.10/32 with the IP or network you want to allow
sudo ufw allow from 203.0.113.10/32 to any port 8888 proto tcp
sudo ufw status

Check whether port 8888 is open

sudo ss -tlpn | grep ':8888 '

Other web ports

80 HTTP 443 HTTPS 8080 HTTP alternate 8443 HTTPS alternate 8000 Dev server 3000 Dev server / Grafana 5000 Dev server / Synology DSM 5001 Synology DSM (HTTPS) 1080 SOCKS proxy