CompTIA Network+ guideNetworking concepts
CompTIA Network+ Ports and Protocols: The N10-009 List by Job
Every port in the CompTIA Network+ N10-009 objective 1.4 table, grouped by job, with TCP or UDP from the protocol specifications, what Network+ adds to the A+ list, and why the exam and the port registry name 587 differently.
Short answer
CompTIA Network+ N10-009 objective 1.4 lists 20 port entries: FTP 20/21, SFTP 22, SSH 22, Telnet 23, SMTP 25, DNS 53, DHCP 67/68, TFTP 69, HTTP 80, NTP 123, SNMP 161/162, LDAP 389, HTTPS 443, SMB 445, Syslog 514, SMTPS 587, LDAPS 636, SQL Server 1433, RDP 3389 and SIP 5060/5061. The same objective lists ICMP, TCP, UDP, GRE and IPSec (AH, ESP, IKE) and four traffic types. Learn each port with its job and its transport. Note that the objectives label 587 SMTPS, while the IANA port registry calls 587 "submission."
The N10-009 port table, grouped by job
CompTIA Network+ N10-009 objective 1.4 prints a table of protocols and ports. The version 4.0 objectives, checked October 18, 2026, list the 20 entries below. This page regroups them by job, because exam questions usually describe a task or a failure, not a number.
The transport column comes from each protocol's specification or, for Microsoft services, from Microsoft's port references, all opened October 18, 2026. The IANA registry assigns most of these numbers for both TCP and UDP, so the registry alone does not tell you which one a service uses.
| Job | Port | Service (objectives' label) | Transport in normal use |
|---|---|---|---|
| File transfer | 20/21 | FTP | TCP: 21 for control; active-mode data normally originates at server port 20, while passive mode negotiates another server port |
| File transfer | 22 | SFTP | TCP, inside an SSH connection |
| File transfer | 69 | TFTP | UDP (RFC 1350) |
| Remote access | 22 | SSH | TCP (RFC 4253) |
| Remote access | 23 | Telnet | TCP (RFC 854) |
| Remote access | 3389 | RDP | TCP, and UDP 3389 as well (Microsoft) |
| 25 | SMTP | TCP (RFC 5321) | |
| 587 | SMTPS (IANA: "submission") | TCP (RFC 6409, RFC 8314) | |
| Web | 80 | HTTP | TCP (RFC 9110) |
| Web | 443 | HTTPS | TCP for HTTP/1.1 and HTTP/2; HTTP/3 uses QUIC over UDP |
| Naming and addressing | 53 | DNS | UDP and TCP (RFC 1035, RFC 7766) |
| Naming and addressing | 67/68 | DHCP | UDP: 67 for the server, 68 for the client (RFC 2131) |
| Time | 123 | NTP | UDP (RFC 5905) |
| Management and logging | 161/162 | SNMP | UDP: 161 for agents, 162 for receiving traps (RFC 3417) |
| Management and logging | 514 | Syslog | UDP (RFC 5426) |
| Directory | 389 | LDAP | TCP (RFC 4511). Microsoft also lists UDP 389. |
| Directory | 636 | LDAPS | TCP (Microsoft) |
| File sharing | 445 | SMB | TCP (Microsoft) |
| Voice | 5060/5061 | SIP | 5060 over UDP or TCP, 5061 for SIP over TLS (RFC 3261) |
| Database | 1433 | SQL Server | TCP for the default instance (Microsoft) |
Two entries share port 22. SSH can run named subsystems inside a connection, and RFC 4254 anticipates a file-transfer subsystem among them, which is how SFTP rides on SSH's port. The objectives list them separately, so learn both labels.
Port numbers are defaults. An administrator can move a service, and a question means the default unless it says otherwise.
TCP, UDP, and the five UDP services on the list
TCP opens a connection and delivers a reliable, ordered byte stream (RFC 9293). UDP sends independent datagrams with no promise that they arrive. Most services in the 1.4 table use TCP. Five are UDP in normal use, and they are mostly management and infrastructure traffic:
- DHCP, 67/68. RFC 2131 says DHCP uses UDP, with clients sending to server port 67 and servers replying to client port 68.
- TFTP, 69. A very simple file transfer protocol built on UDP (RFC 1350), with no login step.
- NTP, 123. RFC 5905 defines the NTP packet as a UDP datagram.
- SNMP, 161/162. RFC 3417 has agents listen on UDP 161 and notification receivers, where traps arrive, on UDP 162.
- Syslog, 514. RFC 5426 requires receivers to accept syslog datagrams on UDP 514. The registry assigns 514/tcp to a different service, "shell."
Three more use both. DNS runs over UDP and TCP on 53, and RFC 7766 says DNS implementations must support both. RFC 3261 requires every SIP element to implement UDP and TCP. Microsoft lists RDP on TCP 3389 and UDP 3389.
The exam habit to build: when a firewall change breaks monitoring, logging, time or address assignment, check whether the rule allowed only TCP.
Port 587: why the exam says SMTPS and the registry says submission
This is the one entry where CompTIA's label and the standards bodies' naming differ, and both are worth knowing.
- The N10-009 objectives list "Simple Mail Transfer Protocol Secure (SMTPS)" on port 587.
- The IANA registry names 587 "submission" and 465 "submissions."
- RFC 8314 puts implicit TLS for mail submission on 465 and notes that STARTTLS on 587 is widely deployed. It also records that 465 was briefly registered as "smtps" years ago and that the registration was revoked.
For the exam, learn the objectives' pairing: 587 with the SMTPS label. In real configurations, expect 587 called submission, usually with STARTTLS, and 465 used for implicit TLS. Port 25 remains SMTP between mail servers. Knowing both keeps vendor documentation from contradicting what you learned for the exam.
What CompTIA Network+ adds to the A+ port list
If you passed CompTIA A+ 220-1201, you already know 11 of these 20 entries. The A+ objective 2.1 list has 14, and Passy's A+ ports guide covers it. Compared with that list, the N10-009 table:
| Entries | |
|---|---|
| Shared with A+ 220-1201 (11) | FTP 20/21, SSH 22, Telnet 23, SMTP 25, DNS 53, DHCP 67/68, HTTP 80, LDAP 389, HTTPS 443, SMB 445, RDP 3389 |
| Added on N10-009 (9) | SFTP 22, TFTP 69, NTP 123, SNMP 161/162, Syslog 514, SMTPS 587, LDAPS 636, SQL Server 1433, SIP 5060/5061 |
| On the A+ list, not in the N10-009 table (3) | POP3 110, IMAP 143, NetBIOS 137 to 139 |
The additions lean toward running a network: time, monitoring, logging, secure directory access, voice and databases. CompTIA's objectives say their examples are not exhaustive, so treat POP3 and IMAP as background knowledge rather than something you can forget.
IP protocol types in 1.4: ICMP, GRE and IPSec
Objective 1.4 also lists IP types that are not ports at all. ICMP, TCP, UDP, GRE, ESP and AH are carried directly in IP and identified by an IP protocol number in IANA's registry:
| Protocol | IP protocol number | What it does |
|---|---|---|
| ICMP | 1 | Error and diagnostic messages, such as the echo requests ping sends |
| TCP | 6 | Connection-oriented transport |
| UDP | 17 | Datagram transport |
| GRE | 47 | Generic Routing Encapsulation, for tunneling one protocol inside another |
| ESP | 50 | IPSec Encapsulating Security Payload |
| AH | 51 | IPSec Authentication Header |
A firewall rule for GRE, ESP or AH matches the protocol number, not a port. IKE, the IPSec key exchange, is different: IANA registers UDP 500 as "isakmp," and UDP 4500 as "ipsec-nat-t" for IPSec through NAT. That is why an IPSec VPN through a firewall commonly needs UDP 500 and ESP, plus UDP 4500 when NAT sits in the path.
Traffic types: unicast, multicast, anycast, broadcast
- Unicast: one sender to one receiver.
- Multicast: one sender to a group of receivers that joined it. IPv4 multicast uses the former class D range, 224.0.0.0 to 239.255.255.255 (RFC 1112, RFC 5771).
- Broadcast: one sender to every host on the local network. A DHCP client with no address broadcasts its first message (RFC 2131). IPv6 has no broadcast addresses (RFC 4291).
- Anycast: one address shared by several interfaces, with each packet delivered to the nearest one by routing distance, as RFC 4291 defines it for IPv6.
Symptom drills for the N10-009 ports
Cover the right-hand columns, read the symptom, and name the port, the transport and the reason. These scenarios are original.
| Symptom | Port | Reasoning |
|---|---|---|
| The monitoring server still polls every switch, but traps from them stopped arriving after a firewall change. | UDP 162 | Polling uses 161 on the agent. Traps go to the manager on 162. |
| Switches can no longer copy configuration backups to a TFTP server after a new ACL that permits only TCP. | UDP 69 | TFTP runs over UDP, so a TCP-only rule blocks it. |
| A new firewall's logs never reach the collector. The firewall sends syslog the standard way. | UDP 514 | Syslog's standard transport is UDP 514. 514/tcp is a different registration. |
| Log timestamps from a branch drift minutes away from headquarters, and the branch firewall blocks outbound UDP 123. | UDP 123 | NTP keeps device clocks in step. |
| IP phones set to SIP over TLS cannot register. The firewall allows only 5060. | TCP 5061 | SIP over TLS defaults to 5061. |
| A web application cannot reach its database on the default SQL Server instance. | TCP 1433 | The SQL Server default instance listens on TCP 1433. |
| A laptop mail client set to submit on 587 cannot send from a guest network that allows only web ports. | TCP 587 | Mail submission uses 587, not 80 or 443. |
Notice how many stems hinge on the transport, not only the number. A rule that names the right port with the wrong protocol fails the same way as a missing rule.
When you can name the port and transport from the symptom alone, try the directory-port case: the free mixed set includes a firewall item about LDAP over SSL, so work the directory firewall-port item in the free Network+ set and read why each wrong port fails.
How ports map to the transport layer is in the OSI model guide. The monitoring guide covers SNMP versions and syslog severities.
Trust the source
Official sources
Exam policies can change. Use these primary sources for the most current details.
- CompTIA Network+ N10-009 Exam Objectives, Version 4.0CompTIA↗
- Service Name and Transport Protocol Port Number RegistryIANA↗
- Protocol NumbersIANA↗
- RFC 8314: Cleartext Considered Obsolete: Use of TLS for Email Submission and AccessIETF↗
- RFC 6409: Message Submission for MailIETF↗
- RFC 2131: Dynamic Host Configuration ProtocolIETF↗
- RFC 1035: Domain Names, Implementation and SpecificationIETF↗
- RFC 7766: DNS Transport over TCP, Implementation RequirementsIETF↗
- RFC 959: File Transfer Protocol (FTP)IETF↗
- RFC 1350: The TFTP Protocol (Revision 2)IETF↗
- RFC 4253: The Secure Shell (SSH) Transport Layer ProtocolIETF↗
- RFC 4254: The Secure Shell (SSH) Connection ProtocolIETF↗
- RFC 854: Telnet Protocol SpecificationIETF↗
- RFC 5321: Simple Mail Transfer ProtocolIETF↗
- RFC 9110: HTTP SemanticsIETF↗
- RFC 9293: Transmission Control Protocol (TCP)IETF↗
- RFC 4511: Lightweight Directory Access Protocol (LDAP): The ProtocolIETF↗
- RFC 5771: IANA Guidelines for IPv4 Multicast Address AssignmentsIETF↗
- RFC 1112: Host Extensions for IP MulticastingIETF↗
- RFC 3417: Transport Mappings for SNMPIETF↗
- RFC 5426: Transmission of Syslog Messages over UDPIETF↗
- RFC 5905: Network Time Protocol Version 4IETF↗
- RFC 3261: SIP: Session Initiation ProtocolIETF↗
- RFC 4291: IP Version 6 Addressing ArchitectureIETF↗
- Service overview and network port requirements for WindowsMicrosoft↗
- Configure the Windows Firewall to allow SQL Server accessMicrosoft↗
- RFC 9114: HTTP/3IETF↗