Port
In computer networking, a port is a logical connection point that is used to identify a specific process or application running on a computer or network device. It is identified by a number that is associated with a protocol, such as Transmission Control Protocol (TCP) or User Datagram Protocol (UDP).
Each device has a number of ports that can be used to send and receive data. When a process or application needs to communicate over the network, it binds to a specific port and waits for incoming connections or sends data to another device's port.
There are well-known ports that are assigned to specific services or applications, such as port 80 for HTTP web traffic or port 25 for Simple Mail Transfer Protocol (SMTP). In addition to these well-known ports, there are also dynamic or private ports that are available for use by applications or services.
Port numbers are 16-bit unsigned integers, which means they can have values between 0 and 65,535. However, some port numbers are reserved for specific purposes, such as ports 0 to 1023 being reserved for well-known services, and ports 49152 to 65535 being reserved for dynamic or private use.
Last updated