Check port occupancy and stop port occupancy

Check port occupancy and stop port occupancy

The first step is to enter netstat -ano|findstr 9001 (enter your port number) on the command line to check the port usage.

Insert image description here

The second step is to enter taskkill /pid 11380 /f on the command line to stop port occupation.

Insert image description here

This completes the viewing and deactivation of the port number.

Guess you like

Origin blog.csdn.net/qq_43715354/article/details/119566018