When you create a Vue3 project with Vite,
it is initially configured to be accessible only via localhost.
To enable accessfrom other computer, modify vite.config.js file by adding the folloing configuration:

export default defineConfig({
server:{
host:'0.0.0.0'
}
})
Contents