Default port of Jupyter Notebook and JupyterLab; also used by many proxies and dev tools.
Default port of Jupyter Notebook and JupyterLab; also used by many proxies and dev tools.
Expose only to trusted sources. An exposed Jupyter server without a token is remote code execution by design; attackers mine crypto on them. Keep the token or password on and reach it through SSH tunnels.
sudo ss -tlnp 'sport = :8888'sudo lsof -nP -i :8888sudo netstat -tlnp | grep ':8888 'netstat -ano | findstr :8888Get-NetTCPConnection -LocalPort 8888 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 8888Test-NetConnection HOST -Port 8888Replace 203.0.113.10 with the address or network you trust. With ufw, make sure the default incoming policy is deny.
sudo ufw allow from 203.0.113.10 to any port 8888 proto tcpsudo iptables -A INPUT -p tcp --dport 8888 -s 203.0.113.10 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 8888 -j DROPsudo nft add rule inet filter input ip saddr 203.0.113.10 tcp dport 8888 accept
sudo nft add rule inet filter input tcp dport 8888 dropNew-NetFirewallRule -DisplayName 'TCP 8888 trusted' -Direction Inbound -Protocol TCP -LocalPort 8888 -RemoteAddress 203.0.113.10 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.