liveBook · Manning

Well-known port

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

A well-known port is a port numbered from 0 through 1023 that is reserved for common protocols and assigned under strict control.

A well-known port is a TCP or UDP port numbered 0–1023. IANA strictly controls this range and reserves it for common protocols, also calling these system ports. section 22.1.1 section 22.3

Recognize well-known ports by their protocol assignments:

  • TCP 22 carries SSH, TCP 80 carries HTTP, and TCP 443 carries HTTPS. section 22.1.1
  • UDP 53 supports DNS, while UDP 67 and 68 support DHCP server and client traffic. section 22.1.1
  • Do not confuse this range with registered ports 1024–49151 or ephemeral ports 49152–65535, commonly selected by clients as source ports. section 22.1.1

Client-to-server connection

A PC can send a TCP segment from ephemeral source port 50000 to an HTTPS server at destination port 443. The reply reverses the ports: source 443 and destination 50000. section 22.1.1

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Defines the 0–1023 range, assignment authority, protocol examples, and contrasts it with the other port ranges.
Examples
Uses SSH, HTTP, HTTPS, DNS, DHCP, and a TCP exchange between client port 50000 and server port 443.
What you can do after
Evaluate network traffic by matching application protocols with their TCP or UDP port numbers.
How it connects
Connects TCP and UDP with application layer protocols, registered ports, ephemeral ports, and session multiplexing.

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.