1. Start----"Run----" cmd, bring up the command window.
2, enter the command: Netstat-ano, list all the conditions of the port. In the list we look at the occupied port, such as 49153, and find it first.
3, view the occupied port corresponding PID, input command: Netstat-aon|findstr "49153", enter, note the last digit, namely PID, here is 1008.
4, continue to input tasklist|findstr "1008", enter, to see which process or program occupies 1008 ports, the result is: Svchost.exe.
5, or we open the Task Manager can also be based on the PID to find the process. Open Task Manager switch to the Process tab, the default is not to open the PID column, if you do not see the PID column, such as the PID (process identifier) before the tick, click OK.
6. We can see the PID column when we are sure
7, we look at 1008 corresponding process is who, if not, we put the following show all users of the process front of the tick, you can see that the image name is Svchost.exe, the description is, the main process of Windows, and the above command to view the exact same.
8, if we determine that this process is not used, we can right-click on the process Manager to shut down. Because this process is a system process we can not shut down, if the computer opened the application occupies the other port, it is not useful to use the above method to find and close.
Windows view a workaround for a port being occupied