How to Check the Windows network communication port occupancy

Recent local test program found that tomcat jsp fails to start, you can not listen on port 8080, the program did not remember anything else occupied port 8080, port 8090 simply changed the first use. Today, we are looking view network communication port occupied by the Windows method to find.

Let me talk about the best solution: use of system resources monitor. In the Network Monitor tab you can view detailed information about a variety of networks, including program name, pid, ports, local and remote addresses, and so on, so according to the port number and program name to know exactly which program occupies the port, if no importance, it would end the program directly, or he would change the settings of that program.

 

Another way is to find online, use the cmd command, type netstat -ano in cmd window and press Enter to see the network port occupancy, but here you do not see the program name, but only get pid, but also to the Task Manager according to an inside look at the program name pid, inconvenient.

 

Guess you like

Origin www.cnblogs.com/memoryLost/p/11027446.html