Step one, Windows view all the ports click on the start of the lower left corner of the computer, then select the Run option, then we in the popup window, enter the "cmd" command, the command prompt. Then we enter "Netstat-ano" in the window and press ENTER, which will show all the port usage. Step two, query the specified port occupied in the window, continue to enter "Netstat-aon|findstr" Prompt port "", such as the small tip of the port is 2080, then the small input command is "NETSTAT-AON|FINDSTR" 2080 "", You can see the PID in the list after the carriage return, then according to the PID in the task manager of the computer to view the corresponding occupation program, and then to close. Step three, the query PID corresponding to the progress of the process if we get a PID of 2016 after the above step, then we can enter the command "TASKLIST|FINDSTR" 2016 ", the first line shows the name is the program name, so we understand that the program occupies the port. Step four, then we enter the command "taskkill/f/t/im program name" can be. Close the program above is about how Windows view the entire contents of the port, we hope to help.
Windows Port Process Management