getting an error- listen EADDRINUSE :::3000 on windows machine
Open the command prompt and type the following
netstat -a -o -n
run down the list by port until you find port 3000 and you will see the process id. Then run
taskkill /F /PID (yourprocessID)
there's another simple way to do this in a single command
FOR /F "tokens=4 delims= " %%P IN ('netstat -a -n -o ^| findstr :3000') DO TaskKill.exe /PID %%P
if you use windows 7 U might need tokens=5
, use with caution tokens are different for different OS.