Common TCP and UDP Ports


CompTIA A+ Ports

Port#TCP/UDPProtocolPurpose
20TCPFile Transfer Protocol (FTP)—Data connectionMake files available for download across a network (data connection port)
21TCPFile Transfer Protocol (FTP)—Control connectionMake files available for download across a network (control connection port)
22TCPSecure Shell (SSH)Make a secure connection to the command-line interface of a server
23TCPTelnetMake an unsecure connection to the command-line interface of a server
25TCPSimple Mail Transfer Protocol (SMTP)Transfer email messages across a network
53TCP/UDPDomain Name System (DNS)Facilitate identification of hosts by name alongside IP addressing
67UDPDynamic Host Configuration Protocol (DHCP) ServerProvision an IP address configuration to clients
68UDPDHCP ClientRequest a dynamic IP address configuration from a server
80TCPHyperText Transfer Protocol (HTTP)Provision unsecure websites and web services
110TCPPost Office Protocol (POP)Retrieve email messages from a server mailbox
137-139UDP/TCPNetBIOS over TCP/IPSupport networking features of legacy Windows versions
143TCPInternet Mail Access Protocol (IMAP)Read and manage mail messages on a server mailbox
161UDPSimple Network Management Protocol (SNMP)Query status information from network devices
162UDPSNMP trap operationReport status information to a management server
389TCPLightweight Directory Access Protocol (LDAP)Query information about network users and resources
443TCPHTTP Secure (HTTPS)Provision secure websites and services
445TCPServer Message Block (SMB)Implement Windows-compatible file and printer sharing services on a local network (also sometimes referred to as Common Internet File System [CIFS])
3389TCPRemote Desktop Protocol (RDP)Make a secure connection to the graphical desktop of a computer

CompTIA Net+ Ports

Port NumberTransport ProtocolService or ApplicationDescription
20TCPftp-dataFile Transfer Protocol—Data
21TCPftpFile Transfer Protocol—Control
22TCPssh/sftpSecure Shell/FTP over SSH
23TCPtelnetTelnet
25TCPsmtpSimple Mail Transfer Protocol
53TCP/UDPdomainDomain Name System
67UDPbootpsBOOTP/DHCP Server
68UDPbootpcBOOTP/DHCP Client
69UDPtftpTrivial File Transfer Protocol
80TCPhttpHTTP
110TCPpopPost Office Protocol
123UDPntp/sntpNetwork Time Protocol/Simple NTP
143TCPimapInternet Message Access Protocol
161UDPsnmpSimple Network Management Protocol
162UDPsnmp-trapSimple Network Management Protocol Trap
389TCP/UDPldapLightweight Directory Access Protocol
443TCPhttpsHTTP-Secure (Secure Sockets Layer (SSL)/Transport Layer Security (TLS)
445TCPsmb (microsoft-ds)Server Message Block over TCP/IP
514UDPsyslogSyslog
546UDPdhcpv6-clientDHCPv6 Client
547TCPdhcpv6-serverDHCPv6 Server
587TCPsmtpsSMTP-Secure
636TCPldapsLDAP-Secure
993TCPimapsIMAP-Secure
995TCPpop3sPOP3-Secure
1433TCPsql-serverMS Structured Query Language (SQL) Server
1521TCPsqlnetOracle SQL*Net
3306TCPmysqlMySQL/MariaDB
3389TCPrdpRemote Desktop Protocol
5004UDPrtpReal-Time Protocol
5005UDPrtcpReal-Time Control Protocol
5060TCP/UDPsipSession Initiation Protocol
5061TCP/UDPsipsSIP-Secure