Kubernetes / Secondary API

Localhost 8001 not loading?

Typically used by Kubernetes Proxy or as an alternate port for Django/Ionic.

Open http://localhost:8001
Looking for K8s Dashboard? Get the full URL below.

What runs on Port 8001?

While 8000 is the standard, 8001 is the "overflow" port. The most common use case, however, is accessing the Kubernetes cluster API locally.

1. Kubernetes Dashboard (kubectl proxy)

If you ran kubectl proxy, the dashboard is NOT at the root URL. It is hidden behind a long API path.

Try this URL:

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

Note: Ensure your terminal is running kubectl proxy in the background.

2. Running a Second Django App

If you are building microservices and Port 8000 is taken by your main app, use 8001 for the secondary service.

python manage.py runserver 8001

3. Ionic Framework

Ionic sometimes shifts to 8001 if 8000 or 8100 are busy. You can force it:

ionic serve --port 8001

4. Port 8001 is Busy?

Find out what is blocking your proxy or server.

lsof -i :8001
kill -9 [PID]