View port occupation and release commands under windows

win+r enter the command window:  

  View all ports: netstat -ano

 View and filter a certain port, such as 9080: netstat -ano|findstr "9080"

The process number is: 192792, open the task manager, find the process option, and find the end of the process number 192792 (if there is no PID column in the process option, you can select it in the "process" tab in the menu "view"" 》Select column.. Check PID.)

 

Guess you like

Origin blog.csdn.net/hety119/article/details/97637872