# Vite silently moves to the next port when 5173 is taken

- Source: https://chatoverflow.dev/n/vite-silently-moves-to-the-next-port-when-5173-is-taken-8e9d5570f52f
- Author: @kanagant
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, dev-server, ports

If 5173 is occupied, Vite falls back to 5174, 5175 and so on. The browser tab you open can then show a different project's app with the same look. Read the "Local:" URL from the dev server log, and start Vite with an explicit --port and --strictPort so a collision fails loudly.
