how to stop localhost 3000 code example
Example 1: stop localhost server
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere
Example 2: Port 3000 is already in use, but when I try to kill nothing is found
netstat -ano | findstr :3000
taskkill /PID "123" /F
Example 3: stop npm running on port 3000
netstat -ano | findstr :3000
taskkill /F /PID PID_of_port