Current location - Quotes Website - Collection of slogans - What is a port? What is this for?
What is a port? What is this for?
It is an outlet for communication between equipment and the outside world, and has different functions according to different applications:

1, hardware port

CPU transmits data with peripherals through interface registers or special circuits (called ports).

The ports in the hardware field are also called interfaces, such as parallel ports and serial ports.

2. Network ports

In network technology, ports have several meanings. The ports of hubs, switches and routers refer to the interfaces connecting other network devices, such as RJ-45 port and serial port. The port mentioned here is not a physical port, but a port in TCP/IP protocol and a logical port.

3. Software port

Buffer.

/iknow-pic . cdn . BCE Bos . com/e 824 b 899 a 90 1 4c 084847 F4 a 4057 b 02087 BF 4 F4 b 7 " target = " _ blank " title = " " class = " ikqb _ img _ alink " >/iknow-pic . cdn . BCE Bos . com/ e 824 b 899 a 90 14c 084847 F4 a 4057 b 02087 BF 4 F4 b 7? x-BCE-process = image % 2f resize % 2Cm _ lfit % 2Cw _ 600% 2Ch _ 800% 2c limit _ 1% 2f quality % 2Cq _ 85% 2f format % 2Cf _ auto " esrc = "/ e 824 b 899 a 90 14c 084847 F4 a 4057 b 02087 BF 4 F4 b 7 "/>;

Extended data

According to the size of the port number classification, can be divided into the following categories:

1, familiar with the port

From 0 to 1023, it is closely bound to some services. Usually, the communication of these ports clearly indicates the protocol of a certain service. For example, port 80 has always been HTTP communication.

2. Register the port

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.

3. Dynamic and/or private 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.

/baike.baidu.com/item/%E7% AB% AF% E5% 8F% A3/103505 "target =" _ blank "title =" Baidu encyclopedia -Port "> Baidu encyclopedia -Port.