liveBook · Manning

Port number

As explained in Fundamentals of Cybersecurity

A port number is a numeric identifier that directs network traffic to a particular service or application on a host.

A port number is a numbered communication endpoint that helps a host direct incoming network traffic to the right service or application. An IP address identifies the host; the port number identifies the destination service on that host. section 11.7

Think of an IP address as a building’s street address and a port number as the room or label that guides mail to the right resident. A request pairs them as <IP address>:<port number>. section 11.7

One host, two services

At 192.0.2.163, port 25 directs traffic to the SMTP mail service, while port 3306 directs it to the MySQL database service. Port 443 is used for HTTPS communication. section 11.7 section 11.12

How Fundamentals of Cybersecurity covers it

How deep it goes
Explains port-number routing with an analogy, address format, and a worked example of services sharing an IP address.
Examples
Uses SMTP on port 25, MySQL on port 3306, and HTTPS on port 443.
What you can do after
Understand how an IP address and port number together direct a request to a service on a host.
How it connects
Connects port numbers to IP addresses, network services, applications, and application protocols.

Also explained in

Compare how 8 books explain port number →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fundamentals of Cybersecurity. The section links point to the parts of the book it draws on.