Show in graph
NET

Software → Computer Networks

Port

A numeric endpoint identifier used by transport protocols to route traffic to applications.

Motivation

Port numbers solve the problem of sending network traffic to the correct process on a machine.

Where it fits

Port belongs to computer networks and is central to TCP, UDP, HTTP, databases, and service deployment.

Mental model

An IP address identifies the machine; a port identifies the door inside that machine.

Common mistakes

  • Confusing ports with physical cables.
  • Opening ports without considering firewall and security exposure.

Port connects to TCP, UDP, socket, HTTP, server, and firewall.