Port mappings
This is a simple list of what applications use which TCP and UDP ports. If you know of any errors or omissions then please e-mail me (brian@cryer.co.uk.).
Port | Application |
---|---|
TCP port 7 | Echo - for Ping (pre ICMP). |
TCP port 8 | ICMP - for Ping requests. |
TCP port 20 | FTP data port - for active FTP connections. |
TCP port 21 | FTP command. FTPES command. |
TCP port 22 | SSH, SFTP. |
TCP port 23 | Telnet |
TCP port 25 | SMTP (Simple Mail Transfer Protocol) |
TCP port 42 | WINS |
TCP & UDP port 53 | DNS |
TCP port 79 | Finger |
TCP port 80 | HTTP (web server) |
TCP port 110 | POP3 |
TCP port 119 |
|
TCP port 120 | NNTP bridge (an application from Microsoft which provides an NNTP server interface to their forums.) |
UDP port 123 | NTP (Network Time Protocol) |
TCP port 135 | (Microsoft Windows) DCOM Service Control Manager / Remote Procedure Call service / Endpoint mapper. |
TCP port 143 | IMAP |
TCP port 161 | SNMP (Simple Network Management Protocol) |
TCP port 162 | SNMP Trap |
TCP port 443 | SSL HTTP. Default port for Secure Socket Layer communications for Web servers (Secure HTTP / HTTPS). |
TCP port 444 | SharePoint uses for SSL HTTP. |
TCP port 465 | SSL SMTP |
TCP port 587 | MSA. (Similar to SMTP.) |
TCP port 989 | FTP SSL (FTPS) data port for "implicit" FTPS. |
TCP port 990 | FTP SSL (FTPS) command port for "implicit" FTPS ("explicit" FTP SSL uses port 21). |
TCP port 993 | SSL IMAP |
TCP port 995 | SSL POP |
TCP port 1334 |
|
TCP port 1433 | Microsoft SQL-Server. |
TCP port 1521 | Port on which the Oracle RDBMS Listener service listens for new connections. |
TCP port 1723 | PPTP VPN (used together with protocol 47, GRE) |
UDP port 1900 | SSDP (Simple Service Discovery Protocol). |
TCP port 2082 | cPanel |
TCP port 2083 | SSL cPanel |
TCP port 2095 | Webmail |
TCP port 2096 | SSL Webmail |
TCP port 3306 | MySQL. |
TCP port 3389 |
|
TCP port 4125 | Remote Web Workplace (RWW). |
TCP port 4899 | Microsoft Remote Administrator. |
TCP port 5224 | HP Virtual machine console. |
TCP port 5555 | Default port on which Microsoft Dynamics CRM installs to when not using the default port 80. It is otherwise a standard HTTP web server. |
TCP port 5723 | Microsoft System Center Operations Manager. |
TCP port 5800 | VNC web-browser server listens on port 5800 + display number. |
TCP port 5900 | Default port for VNC (display 0). VNC server listens on port 5900 + display number. The VNC viewer connects on the port. |
TCP port 5901 | Port used for VNC display 1. |
TCP port 5902 | Port used for VNC display 2. |
TCP port 8080 | Popular alternative port for HTTP, which is normally served on port 80. |
TCP port 8197 | Legato/EMC2 Networker backup. |
TCP port 8198 | Legato/EMC2 Networker backup. |
TCP port 8443 |
|
TCP port 42424 | ASP.NET State Server. This is used by ASP.NET to communicate with the ASP.NET Session State service. |
List ports in use
The netstat command line utility will display information about current TCP/IP network connections:
netstat
- List all connections.
netstat -a
- List all connections and listening ports.
netstat -n
- List all connections and listening ports, but without trying to resolve IP addresses so is much faster.
netstat -b
- List all connections and the application involved. This requires an elevated command prompt on Windows.
netstat -ab
- List all connections and listening ports, plus the application involved. This requires an elevated command prompt on Windows.
netstat -abn
- List all connections and listening ports, plus the application involved but does not try to resolve IP address so is much quicker. This requires an elevated command prompt on Windows.
Other sources:
- www.iana.org/assignments/port-numbers - Possibly as close to a definitive list as you are likely to get.
- http://everything.explained.at/List_of_TCP_and_UDP_port_numbers - List of well known port numbers.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.