Back to Port Numbers

8081 HTTP-alt-2 TCP

Reference for TCP port 8081, commonly associated with HTTP-alt-2.

What it's for

Port 8081 is a common secondary alternate for HTTP, typically reached for when 8080 is already occupied by another service on the same host — a frequent situation in local development where multiple projects or tools (a proxy, an API server, a build tool's dev server) each want their own port. It also shows up as a default for certain artifact registries and internal admin tools.

Protocol basics

There's no special protocol distinction for 8081 — it's plain HTTP, chosen purely as a convention once 8080 is taken. As with any non-standard port, clients need the port explicitly specified in the URL, and any reverse proxy or load balancer sitting in front of a service on 8081 needs its upstream configuration pointed at the correct port to route traffic properly.