Which port is used for LDAP?

Prepare for the Certified Ethical Hacker Version 11 Exam. Study with comprehensive questions and explanations. Equip yourself with the skills needed for success!

Multiple Choice

Which port is used for LDAP?

Explanation:
LDAP uses a well-known port number, which is 389. This is the port assigned for the Lightweight Directory Access Protocol, allowing clients to connect to directory services to query, add, or modify entries. LDAP typically runs over TCP because it needs reliable delivery for directory operations; a secure variant uses port 636 (LDAPS). The other options point to different services on unrelated ports, so they don’t represent LDAP. Note that while some descriptions may list TCP and UDP, the standard LDAP communication itself is over TCP.

LDAP uses a well-known port number, which is 389. This is the port assigned for the Lightweight Directory Access Protocol, allowing clients to connect to directory services to query, add, or modify entries. LDAP typically runs over TCP because it needs reliable delivery for directory operations; a secure variant uses port 636 (LDAPS). The other options point to different services on unrelated ports, so they don’t represent LDAP. Note that while some descriptions may list TCP and UDP, the standard LDAP communication itself is over TCP.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy