Current location - Quotes Website - Team slogan - Excuse me, how to check the port of win7 system, 3Q
Excuse me, how to check the port of win7 system, 3Q
The port is the outlet for the equipment to communicate with the outside world. Reasonable restriction or development of computer ports under Win7 system can effectively improve the security of computers, so the use of ports is very important. Let's take a look at how to use the command to view the port number under Win7 system.

How to check the port number in Win7:

1. First, open the run command box. XP, Win7 and Win 10 systems can be found directly in the start menu, or they can be quickly opened by using the shortcut key combination of Win+R (the preferred method of Win8). After opening the run command box, enter the command: cmd, press enter or click OK at the bottom to open it, as shown in the following figure.

2. After running the cmd command, you can open the computer administrator's cmd command operation box. Checking the computer port is simple, just run a command.

3. Check the computer port number command: netstat -na (for specific usage, type netstat -na in the cmd command box and press enter to run), as shown in the figure below.

Port status monitoring means that you are currently in listening state, establishing means that you have established a connection and are in a communication state, TIME_WAIT means that you have ended your access, and CLOSE_WAIT means that you are waiting for a local user's connection interruption request.

Computer ports can be divided into three categories: well-known ports, registered ports and dynamic and/or dedicated ports.

Recognized ports: from 0 to 1023, which are tightly bound to some services. Usually, the communication of these ports clearly indicates the protocol of a certain service. For example, 80 ports have always been HTTP communication and so on.

Registration ports: from 1024 to 49 15 1. They are loosely bound to some services. In other words, many services are bound to these ports, and these ports are also used for many other purposes. For example, many systems handle a dynamic port of about 1024.

Dynamic and/or dedicated ports: from 49 152 to 65535. Theoretically, these ports should not be assigned to services. In fact, machines usually allocate dynamic ports from 1024. But there are exceptions: SUN's RPC port starts at 32768.