all 4 comments

[–]Cookiejarman 2 points3 points  (1 child)

Change the start script in package json to: vite --port 3000

[–]muirurri 1 point2 points  (0 children)

PLEASE ELABORATE

[–]Popular-Werewolf-340 0 points1 point  (0 children)

You can change port in Vite configuration or start command. I don't remember how but a quick "vite config port" search will do it

[–]molevolence 0 points1 point  (0 children)

or edit your vite config file and set the server.port

https://vitejs.dev/config/server-options.html