Have you encounter with exception like "Address already in use: bind"? If you have been doing web development I have no doubt you have! Now you need to find the bas**rd and kill the process. But how to do that quickly on Windows?
The solution is quite easy - use PowerShell!
First list all processes with their PIDs (in example with port 8080
)
netstat -ano | Select-String "8080"
You will get something like that:
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 14736
TCP [::]:8080 [::]:0 LISTENING 14736
Then use the PID (last column) and kill the process with fire using taskkill
:
taskkill /F /pid 14736