How does win7 use cmd to check port occupancy
This article is about how win7 uses cmd to check port occupancy. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The methods are as follows:
1. Start running the input cmd.
two。 Enter netstat-aon | findstr 80 in the smart window to indicate the port number you want to view.
3. From the following figure, you can call 0.0.0.0 LISTENING 80, indicating that a local program is using port 80 to listen. It shows that there is a program occupying port 80. On the far right is the process ID:892 that occupies the program. Find out which program it is.
4. Continue to enter the following command in cmd: tasklist | findstr "892", which is the previous process ID. You can see from the figure below that the SKYPE program occupies this port.
Thank you for reading! This is the end of this article on "how win7 uses cmd to check port occupancy". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!