Port is occupied how to deal with

Start ----> Run ----> cmd, or window + R key combination, bring up the command window

Enter the command: netstat -ano, list of all the interfaces.

In the list we observed port is occupied, for example, is 60256, the first to find it.

Check occupied port corresponding PID, enter the command: netstat -aon | findstr "60256", enter, write down the last digit, ie PID, here is 23828.

Continue to enter tasklist | findstr "23828", enter, see which program or process takes up 60256 ports, the result is: WinStore.App.exe

Open the Task Manager, switch to the Processes tab, view the PID one who 23828 corresponding process is that there did not find the process (see the reasons behind)

 

The end of the process: select the process in the Task Manager, click on the "End Process" button, or enter cmd in the command window: taskkill / f / t /imWinStore.App.exe

 

Guess you like

Origin www.cnblogs.com/nietzsche2019/p/11198799.html