Port 8000 — HTTP alternate
TCP registered
What runs on port 8000
A common development port — Django, Python `http.server`, many others.
Security considerations
Development convention only.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :8000
sudo ss -lntp | grep :8000
# Windows
netstat -ano | findstr :8000
Get-NetTCPConnection -LocalPort 8000
# is it reachable from outside?
nc -zv example.com 8000
curl -v telnet://example.com:8000
Freeing the port
# find the process, then stop it
sudo lsof -ti :8000 | xargs kill # Linux / macOS
netstat -ano | findstr :8000 # note the PID, then:
taskkill /PID <pid> /F # Windows