How to quickly find a particular port number occupied by the program? -software test

On one, we talked about the relationship before the IP and port. Currently we learn and port number of the software. (This is the interview questions)
that day to talk, how to quickly find a particular port number occupied?
Examples: fiddle; environment: Windows
1: Run fiddle
2: After running Open: Task Manager
3: find the process corresponding to the program, the corresponding PID
How to quickly find a particular port number occupied by the program?  -software test
Ps: If no PID one, needs to be set; follows
click View -> Select Columns -> check the PID
How to quickly find a particular port number occupied by the program?  -software test

4: Open cmd, enter: netstat -ano | findstr 6900
How to quickly find a particular port number occupied by the program?  -software test

Note: it can be seen from the figure, PID: 6900; then the corresponding port number: 8888
Therefore: fiddle port number 8888

Summary: The above-described steps, the program corresponding to the query by the PID, and thus corresponding to the port number that the software

Guess you like

Origin blog.51cto.com/dotest/2417265