DEV Community

mibii
mibii

Posted on

1

error when starting dev server

npm start

start

start
start
vite --open

error when starting dev server:
Error: listen EACCES: permission denied ::1:5173
at Server.setupListenHandle as _listen2
at listenInCluster (node:net:1920:12)
at GetAddrInfoReqWrap.doListen as callback
at GetAddrInfoReqWrap.onlookup as oncomplete

I have encountered the same problem and solved by the following methods.

  1. Open PowerShell as Admin.
  2. stop winnat with command: net stop winnat
  3. start winnat again with command: net start winnat

References: https://stackoverflow.com/questions/60485038/ng-server-listen-eacces-permission-denied-127-0-0-14200

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay