Transport port
Also called: port number, TCP port, UDP port, ephemeral port
A transport port is a numbered field that helps an operating system direct network traffic to the appropriate endpoint. TCP and UDP use 16-bit source and destination ports, with separate namespaces for each transport. An IP address identifies a network endpoint; a port helps distinguish services or conversations at that endpoint.
For example, a client might connect from TCP port 51000 to a server’s TCP port 443. The reply reverses those port roles, while other connections can use different address-and-port combinations. Familiar port assignments are conventions, not proof of what an application really does. Traffic on port 443 is not automatically trustworthy or encrypted merely because that number appears in its header.
- Related
- Socket, Network address translation, HTTPS