Developer Dictionary
Port
Definition
A virtual point where network connections start and end.
Deep Dive
In computer networking, a port is a virtual point where network connections start and end. It is a logical construct that identifies a specific process or a type of network service on a computer or server. When data is sent over a network to a device identified by an IP address, the port number acts as a further identifier, directing that data to the correct application or service running on that device. Ports allow a single IP address to host multiple applications or services simultaneously, each listening for traffic on its designated port.
Examples & Use Cases
- 1A web server listening on port 80 for unencrypted HTTP traffic
- 2An encrypted website using port 443 for HTTPS communication
- 3An email client connecting to an email server on port 25 (SMTP) or port 993 (IMAPS).
Related Terms
IP AddressSocketFirewall