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.
The second step is to enter taskkill /pid 11380 /f on the command line to stop port occupation.
This completes the viewing and deactivation of the port number.