How to Kill Process that is Running on Certain Port in Windows?

I cannot run Tomcat from Eclipse. It says that there’s other process that is running on port 8080, but I don’t know what is the process, and how to stop it from the Services manger in Windows. So here’s how you can kill and find out what is that process:

  1. netstat -a -o -n and it’ll bring up a network list, look at the PID (e.g. 8080)
  2. To find out what PID 8080 was (hopefully not a trojan) I typed tasklist /FI “PID eq 8080”
  3. taskkill /F /PID 2600