localhost:8888

http://localhost:8888

Port 8888 is commonly used by Jupyter Notebook for data science and Python development, and by MAMP (Mac Apache MySQL PHP) as the default web server port on Mac systems.

→ Open localhost:8888

What Uses Port 8888?

  • Jupyter Notebook - Interactive Python notebooks
  • JupyterLab - Next-generation Jupyter interface
  • MAMP - Mac Apache MySQL PHP stack
  • Alternative HTTP servers - Development servers
  • Node.js servers - Custom development ports

Start Jupyter Notebook

# Install Jupyter pip install jupyter # Start Jupyter Notebook jupyter notebook # Server starts at: http://localhost:8888 # Token will be shown in terminal for first access # Start on specific port jupyter notebook --port 8889 # Start without opening browser jupyter notebook --no-browser # List running servers jupyter notebook list # Stop server: Ctrl+C in terminal

MAMP Configuration

MAMP uses port 8888 by default for Apache.

# MAMP Ports (Mac) # Apache: 8888 # MySQL: 8889 # Change ports in MAMP: # MAMP > Preferences > Ports # Set Apache: 80, MySQL: 3306 for standard ports # Access MAMP # http://localhost:8888 # phpMyAdmin: http://localhost:8888/phpMyAdmin

Fix "Port 8888 Already in Use"

# Find what's using port 8888 # Windows netstat -ano | findstr :8888 # Linux/Mac lsof -i :8888 sudo lsof -i :8888 # Kill process # Windows taskkill /PID [PID] /F # Linux/Mac kill -9 [PID] # Or use different port for Jupyter jupyter notebook --port 8889

Related Ports and Resources