Current location - Quotes Website - Team slogan - Seek the eternal tower 2. 1. Port number for expert guidance! !
Seek the eternal tower 2. 1. Port number for expert guidance! !
Just run netstat and tasklist! Then let me talk about the detailed steps!

(1) Run the application that you want to know the port number, and make sure that the application has sent a network connection request.

(1) Start-Run-Command

(2) Enter netstat -ano at the command line, and all port numbers, PID and connection status will appear.

(3) Enter tasklist on the command line again, and the running application and its corresponding PID will appear.

(4) If the PID of the application you want to know is the same as that in the third step and the second step, you can know the local port number of the application!

In fact, these two commands are also very useful for preventing Trojans and spyware!