TCPRegistered PortFirewall: Usually Closed
8888

Jupyter Notebook

What is Port 8888?

Port 8888 is the default port for Jupyter Notebook and JupyterLab, the most popular interactive computing environments for data science, machine learning, and scientific research. Jupyter provides a web-based interface for creating and sharing documents that contain live code, equations, visualizations, and narrative text. When you run jupyter notebook or jupyter lab, the server starts on port 8888 and opens a browser interface. Jupyter supports over 40 programming languages through its kernel system, with Python being the most common. It's used by data scientists, researchers, and educators worldwide. Google Colab, AWS SageMaker, and Azure ML are all built on Jupyter technology.

Common Uses

  • Data science and machine learning development
  • Interactive Python programming and analysis
  • Educational programming environments
  • Scientific research and reproducible computing

Technical Details

Port Number8888
ProtocolTCP
CategoryRegistered
Service NameJupyter Notebook
Default FirewallUsually Closed
Port Test Commands

Copy-paste commands to check port 8888 (Jupyter Notebook) from your terminal

Test connectivity

Netcat (nc)Check if TCP port is reachable
nc -zv example.com 8888
curl (HTTP)Test HTTP response on this port
curl -v --max-time 5 http://example.com:8888/
TelnetBasic TCP port connectivity check
telnet example.com 8888
nmapScan port 8888 with service detection
nmap -p 8888 -sV example.com
Bash /dev/tcpPure bash TCP check (no extra tools needed)
(echo > /dev/tcp/example.com/8888) 2>/dev/null && echo "open" || echo "closed"

Open port in firewall

UFW (Ubuntu / Debian)
sudo ufw allow 8888/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 8888 -j ACCEPT
firewalld (RHEL / CentOS)
sudo firewall-cmd --permanent --add-port=8888/tcp && sudo firewall-cmd --reload

Security Considerations

!

Jupyter Notebook provides code execution capability and should never be exposed to the internet without authentication. Set a strong token or password. Use JupyterHub for multi-user environments with proper authentication. Enable HTTPS for encrypted connections. Be cautious with Jupyter on shared networks as it provides full system access through code execution.

Popular Ports Reference

The most commonly used and referenced network ports

Related Ports