skip to Main Content
error when starting dev server:
Error: listen EACCES: permission denied ::1:5173
    at Server.setupListenHandle [as _listen2] (node:net:1890:21)
    at listenInCluster (node:net:1969:12)
    at GetAddrInfoReqWrap.callback (node:net:2178:7)
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8)

I just dont know how to fix this issue the server wont run i tried using gpt but couldnt fix it

I just dont know how to fix this issue the server wont run i tried using gpt but couldnt fix it.

I TRIED clearing npm cache , tried reinstalling using npm i and all
nothing worked

2

Answers


  1. Error says you don’t have permission to use that port. Maybe you already have something running? Try using a different port

    Also what OS?

    Login or Signup to reply.
  2. don’t spend more time on that bro push in git and create a new create vite and pull that.. but I like you will know the problem and clear the problem, good bro

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search