Which port and protocol is used by LDAP directory services?

Prepare for the CPSA Port Numbers Exam with quizzes on port numbers, services, and protocols. Each question is accompanied by hints and detailed explanations. Get exam-ready with our comprehensive study tool!

Multiple Choice

Which port and protocol is used by LDAP directory services?

Explanation:
LDAP directory services use a reliable transport over TCP, and by default it communicates on port 389. This combination—LDAP over TCP on 389—is what allows directory queries and updates to be performed consistently. If encryption is required, LDAP can also run securely on port 636 (LDAPS), but the standard, non-encrypted LDAP directory service uses 389 TCP. Port 80 is HTTP and not LDAP, and UDP isn’t used for LDAP because it lacks the reliability needed for directory operations.

LDAP directory services use a reliable transport over TCP, and by default it communicates on port 389. This combination—LDAP over TCP on 389—is what allows directory queries and updates to be performed consistently. If encryption is required, LDAP can also run securely on port 636 (LDAPS), but the standard, non-encrypted LDAP directory service uses 389 TCP. Port 80 is HTTP and not LDAP, and UDP isn’t used for LDAP because it lacks the reliability needed for directory operations.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy