1. View all Windows port processes
First click on the Start menu to select Run, then enter "CMD" in the Run dialog box, return to open a command Prompt window, then enter "Netstat-ano" in the window, press ENTER, then all the port occupancy will be displayed.
2, if you want to query the specified port occupancy, you can continue to enter the "Netstat-aon|findstr" Prompt port "" In the window, where the prompt port is assumed to be 80, then the input command is "NETSTAT-AON|FINDSTR" 80 ", You can see the PID in the list after the carriage return, and then, depending on the PID, view the corresponding Occupy program in the computer's task manager and then close it.
3, and then according to the query of the PID to find the corresponding process, I can see the process of possession 80 of this program id:5264, continue to enter the command "TASKLIST|FINDSTR" 5264 ", 5264 is the process ID, Now that we know which process is taking over, we can take the appropriate measures to solve it.
4. In Task Manager, you can shut down its process
View the Windows port process