TCP OR UDP – Based on Protocol type

Here are some commonly used UDP and TCP ports associated with specific applications or protocols. Please note that this is not an exhaustive list, and specific applications or environments may use different ports based on configurations or customisations:

UDP Ports:

  • DNS (Domain Name System): Port 53
  • DHCP (Dynamic Host Configuration Protocol): Port 67 (server), Port 68 (client)
  • NTP (Network Time Protocol): Port 123
  • SNMP (Simple Network Management Protocol): Port 161
  • TFTP (Trivial File Transfer Protocol): Port 69
  • BOOTP (Bootstrap Protocol): Port 67 (server), Port 68 (client)

TCP Ports:

  • HTTP (Hypertext Transfer Protocol): Port 80
  • HTTPS (Hypertext Transfer Protocol Secure): Port 443
  • FTP (File Transfer Protocol): Port 21 (control), Port 20 (data)
  • SSH (Secure Shell): Port 22
  • Telnet: Port 23
  • SMTP (Simple Mail Transfer Protocol): Port 25
  • POP3 (Post Office Protocol version 3): Port 110
  • IMAP (Internet Message Access Protocol): Port 143
  • DNS (Domain Name System): Port 53
  • LDAP (Lightweight Directory Access Protocol): Port 389
  • RDP (Remote Desktop Protocol): Port 3389
  • MySQL Database: Port 3306
  • PostgreSQL Database: Port 5432
  • Microsoft SQL Server: Port 1433

You can find a comprehensive list of port assignments maintained by the Internet Assigned Numbers Authority (IANA) on their website. Here is the link to the Service Name and Transport Protocol Port Number Registry:

https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

This registry provides detailed information about the assigned port numbers for various services, protocols, and applications. It includes both well-known ports (0-1023), registered ports (1024-49151), and dynamic or private ports (49152-65535).

Please note that the list may be subject to updates and revisions as new applications or protocols emerge or existing assignments are modified. It is always a good idea to consult the official registry for the most up-to-date and accurate information.