Home / Port numbers / Port 5173
Port 5173: Vite development server
The Vite test server for web projects. Port 5173 uses TCP.
- Port
- 5173
- Commonly used for
- Vite development server
- Transport
- TCP
- Encrypted
- No
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Keep it closed to the internet
- IANA registration
- Not assigned to any service
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 5173 is used for
Port 5173 is the default for Vite, a widely used build tool for JavaScript front ends (Vue, React, Svelte and others). Running the dev command starts a local server there with instant reloading. If 5173 is busy, Vite moves up to the next free port.
Should port 5173 be open?
By default Vite listens only on the local computer. It can be told to listen on the network for testing on a phone, which is fine on a trusted home network and should not go further. It is not a production server and should never be forwarded.
IANA, which keeps the official list of port numbers, has not assigned port 5173 to any service. The use described here is a convention that software makers have settled on.
Related ports
- Port 3000 (Development servers and Grafana): Node.js test servers, Grafana, Gitea
- Port 4200 (Angular development server): the Angular CLI test server
- Port 8080 (HTTP alternate): a second web server, proxy or admin page
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 5061 (SIP over TLS) · Next: Port 5201 (iperf3)