2 Protocols and Ports
Learn how TCP and UDP differ, how ports identify network services, and how to recognize common web, name-resolution, configuration, remote-access, and email traffic.
Ports and network endpoints
A identifies an application or service on a device. Together, an IP address, transport protocol, and help identify a particular network endpoint. Because ports are tied to transport protocols, 53 and 53 are distinct.
and
establishes a connection and provides reliable, ordered delivery of a byte stream. It retransmits lost data, so it is often used when an application needs complete, correctly ordered data, such as web pages, remote logins, and email.
sends independent datagrams with less transport overhead. itself does not guarantee delivery, ordering, or protection against duplicates. It is often used for short queries and real-time traffic; the application handles any reliability it needs.
Interpreting clues
A familiar number can suggest the purpose of traffic, but it does not prove what a service is doing. Services can use nonstandard ports, and numbers can be reassigned or misused. The IANA registry is the authoritative reference for registered numbers.
To interpret a connection, check both the and transport protocol, then consider which device initiated the connection and in which direction. Encryption can hide application data, and a service may be configured to use a different . numbers alone do not reveal the full contents or safety of a connection.
Name resolution and network configuration
resolves domain names to records such as IP addresses. It commonly uses 53 for ordinary queries, and also uses 53, including for zone transfers and when needed for larger responses. Traffic to 53 often indicates name lookup activity.
automatically provides a host with configuration such as an IP address, default gateway, and server. The server uses 67 and the client uses 68. A client that has just joined a network may broadcast messages before it has a usable address.
Web traffic
transfers web requests and responses. Traditional uses 80, so a browser fetching a page over ordinary commonly connects to that .
carries web traffic with encryption and server authentication. /1.1 and /2 commonly use 443. /3 runs over QUIC, which uses , so 443 may indicate /3.
Remote access and sending email
provides encrypted remote login and other secure network services, including command-line administration and file transfer. A connection to 22 often suggests remote system access.
sends or relays outgoing email. 25 commonly indicates server-to-server mail transfer, while 587 or 465 commonly indicates a mail app submitting a message to its provider. 465 is used for submission over implicit TLS.
Accessing email
retrieves email from a mailbox, often by downloading messages to a client. It commonly uses 110; 995 is used for with implicit TLS.
lets a mail client access and manage messages and folders kept on a mail server. Its common cleartext is 143, and its common implicit-TLS is 993.
Recognizing common traffic patterns
Common patterns include on 53, on ports 67 and 68, on 80, on 443, on 22, on ports 25, 587, and 465, on ports 110 and 995, and on ports 143 and 993. Match each number with its transport and role, and treat it as a useful clue rather than definitive proof.
For example, a laptop contacting a resolver on 53 is likely making a name lookup. A new device exchanging messages on ports 67 and 68 is likely requesting configuration. A browser connecting to 443 is likely using , while 443 may indicate /3. A mail client connecting to 993 is likely accessing an email inbox with over TLS.