svelte listen EACCES: permission denied ::1:5173 에러
PS C:\git\svelte\frontapp> npm run dev
> frontapp@0.0.1 dev
> vite dev
오전 11:57:23 [vite-plugin-svelte] Your are using Svelte 5.0.0-next.26. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.
work in progress:
- svelte-inspector is disabled until dev mode implements node to code mapping
- hmr for .svelte files is disabled until hmr api is implemented
error when starting dev server:
Error: listen EACCES: permission denied ::1:5173
at Server.setupListenHandle [as _listen2] (node:net:1855:21)
at listenInCluster (node:net:1920:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:2069:7)
해결 방법
1. 관리자 권한으로 powershell을 연다
2. net stop winnat
3 .net start winnat
https://github.com/vitejs/vite/issues/5801
Error when starting dev server permission denied 127.0.0.1:3000 · Issue #5801 · vitejs/vite
Describe the bug The OS seems to slam down the dev server when it tries to run. Important to note that http-server on 8080 and node express apps on 3000 launch without a problem on the same VDI Err...
github.com