How to view the port number in Win7?

  
                                    

How to view the port number of Win7:

1. Open the run command box first, XP, Win7, Win10 system can be found directly in the start menu, or you can use Win + R combination shortcut to quickly open (Win8 Preferred method). After opening the run command box, enter the command after opening: cmd, press the Enter key or click the bottom of the "OK" to open, as shown below.

2. After running the cmd command, you can open the cmd command operation box of the computer administrator. To view the computer port is very simple, just run a command.

3, view the computer port number command: netstat -na (specific usage is, in the cmd command box, type netstat -na, and then press the Enter key to run), as shown below.

LISTENING in the port status represents the current listening state, ESTABLISHED represents the established connection, is in communication, TIME_WAIT represents the end of the access, CLOSE_WAIT represents waiting for the connection interruption request from the local user.

Computer ports can be divided into three main categories: Well Known Ports, Registered Ports, and Dynamic and/or Private Ports.

Recognized ports: from 0 to 1023, they are tightly bound to some services. Usually the communication of these ports clearly indicates the protocol of a certain service. For example: port 80 is actually always HTTP communication, etc.;

Registered port: from 1024 to 49151. They are loosely tied to some services. This means that there are many services that are bound to these ports, and these ports are also used for many other purposes. For example, many systems handle dynamic ports starting around 1024.

Dynamic/or private port: from 49152 to 65535. In theory, these ports should not be assigned to services. In fact, machines typically allocate dynamic ports from 1024. But there are exceptions: SUN's RPC port starts at 32768.

Copyright © Windows knowledge All Rights Reserved