I just scaffolded a new vite app using npm init vite and chose the options to create a Svelte + typescript app.
After running npm install and npm run dev vite starts up a dev server on 5173. I can't connect to this server from Firefox, it just gives me the "Unable to connect" page.
I can connect to it fine from Chrome. So I thought, maybe Firefox has a problem with localhost connections or something. I spun up a freshly scaffolded create-react-app and Firefox connects to that just fine.
I tested a couple other web servers, Firefox can connect to all of them.
I also tried running the build and starting the preview server, but again Chrome can connect, Firefox can't. I also tried configuring the vite server to listen on port 80, but just get the same behavior.
Any idea why Firefox won't connect to the vite server?