Skip to content

Instantly share code, notes, and snippets.

@talayhan
Created March 21, 2015 11:45
Show Gist options
  • Select an option

  • Save talayhan/75815f0fad4cc37ab263 to your computer and use it in GitHub Desktop.

Select an option

Save talayhan/75815f0fad4cc37ab263 to your computer and use it in GitHub Desktop.
Common Port Numbers

###Common port numbers

Main article: List of TCP and UDP port numbers The Internet Assigned Numbers Authority (IANA) is responsible for the global coordination of the DNS Root, IP addressing, and other Internet protocol resources. This includes the registration of commonly used port numbers for well-known Internet services.

The port numbers are divided into three ranges: the well-known ports, the registered ports, and the dynamic or private ports.

The well-known ports (also known as system ports) are those from 0 through 1023. The requirements for new assignments in this range are stricter than for other registrations.[2]

Examples include:

  • 20 & 21: File Transfer Protocol (FTP)
  • 22: Secure Shell (SSH)
  • 23: Telnet remote login service
  • 25: Simple Mail Transfer Protocol (SMTP)
  • 53: Domain Name System (DNS) service
  • 80: Hypertext Transfer Protocol (HTTP) used in the World Wide Web
  • 110: Post Office Protocol (POP3)
  • 119: Network News Transfer Protocol (NNTP)
  • 143: Internet Message Access Protocol (IMAP)
  • 161: Simple Network Management Protocol (SNMP)
  • 194: Internet Relay Chat (IRC)
  • 443: HTTP Secure (HTTPS)
  • 465: SMTP Secure (SMTPS)

The registered ports are those from 1024 through 49151. IANA maintains the official list of both ranges.[3] The dynamic or private ports are those from 49152 through 65535. One common use is for ephemeral ports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment