Networking Concepts

Which default port does LDAP over SSL (LDAPS) use for encrypted directory queries?

Show the answer

Correct answerD. TCP 636

AWhy not this: This is the SMB port for file and printer sharing, not directory queries.

BWhy not this: This is the standard LDAP port, which carries queries unencrypted.

CWhy not this: This is the HTTPS port for web traffic, not directory services.

DWhy this is right: This is the default port assigned to LDAP over SSL.

LDAPS uses TCP 636 to protect directory queries with SSL/TLS. TCP 389 is the unencrypted LDAP port, so using it sends queries and credentials without that protection.