Tutorials / Tech blog / Geek Zone

Latest Posts

Saturday, February 25, 2017

Windows :: Kill a Process Id by looking up the port


Find PID of process that use a port on Windows (e.g. port:"8080")

Fire the below comands via Command Line Interface 

netstat -a -o -n | findstr 0.0:8080

-a Displays all connections and listening ports.
-o Displays the owning process ID associated with each connection.
-n Displays addresses and port numbers in numerical form.

Output
TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       6800

Then Kill the process by PID 

taskkill /F /PID 6800

/F - Specifies to forcefully terminate the process(es).


1 comment:

  1. Simply wish to say your article is as amazing. The clarity on your put up is simply spectacular and i can assume you are knowledgeable on this subject. Well along with your permission allow me to snatch your feed to keep updated with approaching post. Thanks 1,000,000 and please continue the gratifying work. yahoo mail login

    ReplyDelete