Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does a computer use the dos command to see which program the port is occupied by

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article is about how a computer uses the dos command to see which program the port is occupied by. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The specific steps are as follows:

1. Press Win + R, open and run, and type: cmd, then press OK or enter to open the command line window.

2. Then we enter the command: netstat-ano, which can list all ports. In the list, we look at the occupied ports, such as 1224.

3. To view the PID corresponding to the occupied port, we can enter: netstat-aon | findstr "8081", then enter and record the next four digits. Here is: 9088.

4. Continue typing: tasklist | findstr "9088", press enter to see which process or program occupies port 8081. The result is: node.exe.

5. Or open the Windows task manager, select the processes tab, and check the PID column to see who the 9088 corresponding process is (if there is no PID column, we can choose to view-select the process page column, and check PID {process identifier}).

Thank you for reading! This is the end of the article on "how to use the dos command to see which program the port is occupied by". 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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report