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 to quickly find the port number occupied by a program? -Software testing

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

Share

Shulou(Shulou.com)06/03 Report--

In the last section, we talked about the relationship between IP and ports. And the port number of the software we are learning so far. (this is an interview question.)

Let's talk about it today, how to quickly find the port number used by a certain program?

Example: fiddle; environment: windows

1: run fiddle

2: open after running: task Manager

3: find the process of the corresponding program and the corresponding PID

Ps: if there is no PID column, you need to set it as follows

Click View-> Select column-- > check PID

4: open cmd, enter: netstat-ano | findstr 6900

Note: as can be seen from the above picture, the port number corresponding to PID:6900; is 8888.

So: the port number of fiddle is 8888

Summary: the above steps are to query the PID of the corresponding program, and then get the port number of the corresponding software.

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