List corresponding ports and PIDs of all the network connections
1 | netstat -ano |
Show the network connections on the occupied port
1 | netstat -ano|find "the occupied port number" |
Stop the network connections by corresponding PID number of the occupied port
1 | taskkill /F /PID [the corresponding PID number] |