WHATPORT(8000) whatport.net WHATPORT(8000)
8000

Python http.server, Django runserver

The default port for ad-hoc Python HTTP servers and Django's development server.

TCP IANA: irdmi

Description

python -m http.server binds 8000 with no arguments, and django-admin runserver defaults to 127.0.0.1:8000. It is also a generic second-choice HTTP port for app servers behind a proxy. IANA registers 8000 as irdmi, which has nothing to do with any of this.

Exposed to the internet?

Expose with care

A real app server behind a reverse proxy is fine on 8000; a development server is not. Python's own docs say http.server is not for production, and Django prints a do-not-use-in-production warning at startup — an exposed 8000 is usually one of those two, with a directory listing or a debug page open to anyone.

Check it yourself

$ curl -sI http://localhost:8000/

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.