Current location - Quotes Website - Collection of slogans - How to check the port number of the local computer?
How to check the port number of the local computer?
To view the open ports of the local computer, you can use the netstat command, as follows:

1. Click the "Start" menu in the lower left corner of the screen.

2. Click "Run", or you can use the WIN+R key combination on the keyboard to quickly bring up the "Run" column.

3. Enter "CMD" in the Run column, and then click "OK".

4. The windows DOS interface pops up.

5. Enter "netstat" at the cursor, and then press Enter to display the port number of this machine.

We can also use software to check, such as Tcpview, Port Reporter and so on. Taking Tcpview as an example, this paper introduces the method of checking the open port number of local computer with software:

1, and double-click to run the "Tcpview" program.

2. The program will automatically scan and display the port number.

In network technology, ports include logical ports and physical ports. Physical ports refer to physically existing ports, such as interfaces on ADSL modems, hubs, switches and routers for connecting other network devices, such as RJ-45 ports and SC ports.

Logical port refers to the port used to distinguish services in a logical sense, such as the service port in TCP/IP protocol. Port numbers range from 0 to 65535, such as port 80 for browsing web services and port 2 1 for FTP services. Due to the large number of physical ports and logical ports, in order to distinguish the ports, each port is numbered, which is the port number.