localhost:8888
Data scientists and Python developers know this port: Jupyter Notebook runs on 8888 by default. It's also JupyterLab's home port. If you're doing machine learning, data analysis, or interactive Python, you'll visit localhost:8888 constantly.
What Uses Port 8888?
| Application | Type |
| Jupyter Notebook | Interactive Python |
| JupyterLab | Next-gen Jupyter |
| Google Colab (local) | Cloud notebooks |
| XAMPP Alternate | When configured |
Start Jupyter
# Install Jupyter
pip install jupyter
# Start Notebook
jupyter notebook
# Opens http://localhost:8888
# Start JupyterLab
jupyter lab
# Opens http://localhost:8888/lab
Jupyter Token Authentication
Jupyter requires a token for security. Find it in terminal output:
# Terminal shows:
# http://localhost:8888/?token=abc123...
# Or list running servers:
jupyter notebook list
Change Jupyter Port
# Command line
jupyter notebook --port 8889
# Or configure permanently
jupyter notebook --generate-config
# Edit ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.port = 8889
Common Issues
| Problem | Solution |
| Token required | Copy token from terminal output |
| Port 8888 in use | Jupyter auto-increments to 8889, 8890... |
| Kernel won't start | Reinstall ipykernel: pip install ipykernel |
| Can't access remotely | Use --ip 0.0.0.0 flag |
Jupyter vs JupyterLab
| Feature | Jupyter Notebook | JupyterLab |
| Interface | Single document | IDE-like, tabs |
| File browser | Basic | Full sidebar |
| Extensions | Limited | Rich ecosystem |
| URL | /tree | /lab |
Related Ports