error when starting dev server

mibii

mibii

Posted on November 14, 2024

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

💖 💪 🙅 🚩
mibii
mibii

Posted on November 14, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

error when starting dev server
vite error when starting dev server

November 14, 2024