The use of the port is we are in the remote or the printer will encounter, but there are many users will encounter the port is occupied, encountered such a problem first to find out the computer so that the port and then to view, or there are many people do not know how to view the computer port.
1 Viewing windows All port processes
First click on Start menu select Run, then in the Run dialog box enter "cmd", enter to open a command prompt window, and then enter in the window
Netstat -ano
, press ENTER, and then all port usage is displayed.
2 Querying the specified port
If you want to query the specified port occupancy, you can continue typing in the window.
" the specified port "
, the port of the hint here is assumed to be 80, then the input command is "NETSTAT-AON|FINDSTR" 80 "", enter after you can see the list of PID, and then according to the PID in the computer's Task Manager to view the corresponding occupation program, and then close it.
Then according to the query of the PID to find the corresponding process, I can see 80 of the process of this program id:2432, continue to enter the command
" 2432 "
, 2432 is the process ID, and now we know which process is taking over and we can take the appropriate measures to solve it.
Windows View Port Usage