How to free up a port on windows ?
How to get rid of error listen EADDRINUSE: address already in use 127.0.0.1: on windows
Anonymous Answered question
Run the below command on windows to find the PID of the process that’s running on the port you want to free using the below command:-
netstat -ano | Findstr <portNo>
where portNo is the port which you want to free.
The above command will give an output like:-
TCP 127.0.0.1:3000 0.0.0.0:0 LISTENING 14140
The last column is the PID in the above example
Run the below command in windows command prompt to free the process there.
taskkill -f /PID 14140
Replace 14140 with the actual PID that you see !!
goli202084 Changed status to publish