Python / Gatsby

Localhost 8000 Not Working?

Port 8000 is standard for Python (Django) and Gatsby. Check your server status.

Go to http://localhost:8000 →
Kill Port 8000
npx kill-port 8000

Django & Python Server Fixes

If you see connection refused on 8000, your Python script likely isn't running.

1. Start Django Server

Ensure you are in the directory with `manage.py`:

python manage.py runserver

2. Simple HTTP Server

Just want to serve static files? Python has a built-in one-liner:

# Python 3
python -m http.server 8000

Developer Port Reference Guide

Frontend & Web
3000 React / Node / Default 3001 React Secondary 5173 Vite / Vue 3 4200 Angular CLI 8000 Django / Gatsby 8080 Tomcat / Vue / Spring 8081 React Native 80 HTTP Standard 443 HTTPS / SSL
Backend & Infrastructure
5000 Flask / AirPlay 4000 Jekyll / Hexo 9000 SonarQube / PHP
Database & Cache
3306 MySQL 5432 PostgreSQL 27017 MongoDB 6379 Redis 11211 Memcached
DevOps & Data Science
8888 Jupyter Notebook 9200 Elasticsearch 9090 Prometheus 15672 RabbitMQ UI 8500 Consul 127.0.0.1 Loopback IP