Current location - Quotes Website - Collection of slogans - What does the number after the colon mean after ip address query?
What does the number after the colon mean after ip address query?
The 4000 after the colon of the IP address indicates that the port number is 4000.

In order to enable computers in the network to communicate, each computer must be assigned an identification number, and the computer receiving data or the computer sending data can be specified by this identification number. In TCP/IP protocol, this identification number is the IP address, which can uniquely identify a computer.

You can connect to the specified computer through the IP address, but you need to specify the port number if you want to access the application in the target computer. In a computer, different applications are distinguished by port numbers. The port number is represented by two bytes (16-bit binary number), and the value range is 0~65535. The port number between 0~ 1023 is used for some well-known network services and applications, and users need to use the port number above 1024 for ordinary applications to avoid the port number being occupied by another application or service.

Describe the function of IP address and port number through the above figure.

How to find the ip address and computer port of the server:

1. Click the windows icon in the lower left corner of the computer, type cmd in the search box, and press Enter to enter the DOS command window.

2. Enter ipconfig under DOS command, and then you can see the ip address of the computer.

3. Enter netstat under DOS command to see the port of the computer, as shown in the figure. This port is used to set the server network port.