Port Number Lookup

Common network port numbers and their associated services.

Common TCP and UDP port numbers and the services that use them, from the IANA port number registry: 80 for HTTP, 443 for HTTPS, 22 for SSH, 25, 587 and 465 for email, 53 for DNS, 3389 for Remote Desktop and many more. Ports let one computer run many network services at once: the address picks the machine, the port picks the program. Numbers 0 to 1023 are the well-known ports, 1024 to 49151 are registered for particular services, and 49152 to 65535 are left for temporary connections. Search by number or name. The DNS Lookup and WHOIS Lookup tools help with the other half of network troubleshooting.

Common TCP and UDP port numbers

PortProtocolService
20, 21TCPFTP (data, control)
22TCPSSH, SFTP, SCP
23TCPTelnet (unencrypted)
25TCPSMTP (server to server mail)
53TCP/UDPDNS
67, 68UDPDHCP (server, client)
69UDPTFTP
80TCPHTTP
110TCPPOP3
123UDPNTP (time sync)
137–139TCP/UDPNetBIOS
143TCPIMAP
161, 162UDPSNMP, SNMP traps
179TCPBGP
389TCP/UDPLDAP
443TCP/UDPHTTPS (UDP for HTTP/3 over QUIC)
445TCPSMB file sharing
465TCPSMTP over implicit TLS
514UDPSyslog
587TCPSMTP mail submission (STARTTLS)
636TCPLDAPS
853TCPDNS over TLS
989, 990TCPFTPS (data, control)
993TCPIMAPS
995TCPPOP3S
1433TCPMicrosoft SQL Server
1521TCPOracle database
1883TCPMQTT
2049TCP/UDPNFS
3306TCPMySQL / MariaDB
3389TCP/UDPRemote Desktop (RDP)
5060, 5061TCP/UDPSIP, SIP over TLS
5222TCPXMPP client
5432TCPPostgreSQL
5672TCPAMQP (RabbitMQ)
5900TCPVNC
6379TCPRedis
6443TCPKubernetes API server
8080TCPHTTP alternative / proxies
8443TCPHTTPS alternative
8883TCPMQTT over TLS
9092TCPApache Kafka
9200TCPElasticsearch HTTP
11211TCP/UDPMemcached
27017TCPMongoDB

Source: IANA Service Name and Transport Protocol Port Number Registry.

Common use cases

  • Identify what's listening on a port
  • Set firewall and router rules
  • Troubleshoot a connection that won't open
  • Revise ports for networking exams

How to use

  1. Search for a port number or a service name.
  2. Read whether it uses TCP, UDP or both.
  3. Check the service name to see what normally runs there.

FAQ

What's the difference between TCP and UDP?

TCP sets up a connection and makes sure everything arrives in order, which suits web pages and email. UDP just sends packets without checking, which is faster and suits video calls, games and DNS lookups.

Which email ports should I use?

587 (with STARTTLS) or 465 (TLS from the start) for sending from an app, 993 for IMAP over TLS and 995 for POP3 over TLS. Port 25 is for servers passing mail to each other and is often blocked for home connections.

Can any program use any port?

Mostly, yes. The registry records which service usually uses a port, but it isn't enforced. On most systems, ports below 1024 need administrator rights to open.