11
Start----> Run---->cmd, or the WINDOW+R key combination to bring up the command window
2
Enter the command: Netstat-ano, which lists all port conditions. In the list we look at the occupied port, such as 49157, and find it first.
3
View the PID of the occupied port, input command: Netstat-aon|findstr "49157", enter, note the last digit, namely PID, here is 2720
4
Continue entering Tasklist|findstr "2720", enter to see which process or program is taking up 2720 ports, the result is: Svchost.exe
or we open the Task Manager, switch to the Process tab, in the PID column to see the 2720 corresponding process who, kill him!
End the process: Select the process in Task Manager to click the "End Process" button, or in the cmd command window, enter: taskkill/f/t/im Tencentdl.exe
The port is occupied for Android development, which solves