Resources · Port reference · port 5173
Port 5173 (Vite): what it is and how to secure it
Vite is a development server. The host flag makes it public.
Check command
ss -tulpn | grep 5173
Copied.
Do not run vite on a production VPS. If you must, leave it on 127.0.0.1 and close it when the session ends.
ss -tulpn | grep 5173
A 0.0.0.0 or :: address is a public listener. 127.0.0.1 is local.