January 17, 2019

How to get the process id associated with process running on a specific port number

How to get the process id associated with process running on a specific port number

To get the process id use

netstat -ao | find "8080"



you will get a out put like this

  TCP    0.0.0.0:8080           Regional Manager-PC:0             LISTENING       2316


If you want to write the following out put to file 

append   >> c:\consumerfed.text to the above command



No comments:

Post a Comment

Your feedback may help others !!!

Facebook comments