N10-009 ยท Ports, protocols and traffic types
Mail, web, directory and database ports
SMTP 25, SMTPS 587, HTTP 80, HTTPS 443, LDAP 389, LDAPS 636, SQL Server 1433, SIP 5060/5061.
Key points
- SMTP on 25 relays mail between servers; clients submit outgoing mail on 587 (the secured submission port).
- HTTP is 80 and HTTPS is 443.
- LDAP on 389 queries directories in cleartext unless upgraded; LDAPS on 636 wraps it in TLS.
- Microsoft SQL Server defaults to 1433.
- SIP signaling uses 5060 unencrypted and 5061 with TLS.
Source: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
Practice questions
Which port carries encrypted web traffic by default?
- 80
- 443
- 8080
- 25
Show answer
Answer: B. 443
HTTPS uses 443. Port 80 is plain HTTP.
Which ports carry TLS-protected traffic in their standard assignment?
- 443
- 636
- 5061
- 80
- 389
Show answer
Answer: A. 443, B. 636, C. 5061
HTTPS (443), LDAPS (636) and SIP over TLS (5061) are the secured variants. 80, 389 and 5060 are their cleartext counterparts.
LDAP on port 389 encrypts every query by default.
Show answer
Answer: False
Plain LDAP is cleartext unless the session is upgraded (for example with StartTLS). LDAPS on 636 is TLS from the first byte.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
