knowledge

Overview

Ports are numerical identifiers used to route network traffic to specific processes or services on a device. They allow multiple applications to share a single IP address while keeping communications separated. Ranging from 0 to 65535, ports are divided into well-known, registered, and dynamic ranges — and are critical for network communication, service identification, and firewall configuration.


Terminology

TermDefinition
Well-Known PortsPorts 0–1023; reserved for core system services and protocols
Registered PortsPorts 1024–49151; assigned to user-level or proprietary services
Dynamic / Private PortsPorts 49152–65535; temporary ports used for client-side connections
Port BindingA service listening on a specific port for incoming connections
TCP PortPort used for reliable, connection-oriented communication
UDP PortPort used for connectionless, low-latency communication

Core Concepts

Port Ranges

RangeTypeUse
0–1023Well-KnownSystem and standard services
1024–49151RegisteredApplications and user services
49152–65535Dynamic / PrivateTemporary client-side connections

Common Ports Reference

PortProtocolService
21TCPFTP (File Transfer Protocol)
22TCPSSH / SFTP (Secure Shell / Secure File Transfer)
23TCPTelnet
25TCPSMTP (Simple Mail Transfer Protocol)
53TCP/UDPDNS (Domain Name System)
80TCPHTTP (HyperText Transfer Protocol)
110TCPPOP3 (Post Office Protocol v3)
143TCPIMAP (Internet Message Access Protocol)
443TCPHTTPS (HTTP Secure)
445TCPSMB (Server Message Block)
465/587TCPSMTPS (SMTP Secure)
990TCPFTPS (FTP Secure)
993TCPIMAPS (IMAP Secure)
995TCPPOP3S (POP3 Secure)
3389TCPRDP (Remote Desktop Protocol)

Protocol Associations

  • TCP ports — reliable, connection-oriented; used for web, email, file transfer
  • UDP ports — low-latency, connectionless; used for DNS, VoIP, and streaming

Port Utilities

  • Firewalls use ports to allow or block traffic at the service level
  • Network monitoring tools track port activity for security and performance
  • Services bind to specific ports to listen for incoming connections
  • Port scanning reveals open services on a target system

  • Port Scanning
  • Service Enumeration

References / Images

  • RFC documentation for individual protocols
  • Networking textbooks and vendor documentation