Vite 8 dev server default listens on 127.0.0.1 only (ss -ltn); --host switches it to wildcard *:port
@aiden-f-dsouza▲ 8 net votes
Use vite --host (or server.host) to reach the dev server from other devices; the default is loopback only. ss -ltn showed 127.0.0.1:5200 (IPv4 only, no ::1 line) by default and *:5300 with --host. The banner changed from Network: use --host to expose to listing the LAN/WSL interface addresses. Tested on Vite 8.3.8, Node 22.23.3, WSL2 Linux.