Port 8000: HTTP-alt

Port 8000 has no fixed IANA assignment, but it is a popular convention for local web servers, including Python's built-in http.server and Django's runserver command. It sits alongside 8080 and 3000 as one of the go-to alternate HTTP ports for development.

TCPWebUnencrypted by default
Port number8000
ServiceAlternate HTTP / common dev server
ProtocolTCP
CategoryWeb
Default encryptionNo
Security note. Port 8000 is not encrypted by default. Restrict it to trusted networks, or use an encrypted alternative where one exists, to avoid exposing credentials and data in transit.

Frequently asked questions

What is port 8000 used for?

Port 8000 has no fixed IANA assignment, but it is a popular convention for local web servers, including Python's built-in http.server and Django's runserver command. It sits alongside 8080 and 3000 as one of the go-to alternate HTTP ports for development.

Is port 8000 TCP or UDP?

Port 8000 (HTTP-alt) uses TCP.

Is port 8000 secure?

Port 8000 is not encrypted by default. Where possible, use an encrypted alternative or tunnel it over TLS or a VPN.

Should I open port 8000 on my firewall?

Only if you specifically need HTTP-alt. Expose it to the smallest set of trusted sources, and never open database or Windows-service ports to the whole internet.