Check the windows ports commonly used commands

 

1. Windows See all ports netstat -nao | more

 

2. Port query syntax specified occupancy netstat -aon | findstr "Tip of the port," such as netstat -nao | findstr 10050 | more

 

 3. queries corresponding PID process   

    After the above steps, PID we get to 5220, then we can enter the command [tasklist | findstr "5220"], as shown below

 

Guess you like

Origin www.cnblogs.com/dengmeinan/p/11230531.html