Prepare for the CompTIA Network+ Exam with interactive quizzes, flashcards, and detailed explanations. Enhance your networking knowledge and ace your certification test with confidence!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which port is used by the insecure version of LDAP?

  1. TCP/636

  2. TCP/389

  3. TCP/445

  4. UDP/514

The correct answer is: TCP/389

The insecure version of LDAP (Lightweight Directory Access Protocol) operates using TCP port 389. This port is designated for directory services communication without employing encryption, which means that the data transmitted, including sensitive information, is sent in plaintext. As such, it's important to implement security measures, such as access controls or using the secure version of LDAP, which operates over TCP port 636 using SSL/TLS to encrypt the data. Other ports listed do not correspond to the insecure version of LDAP. TCP port 636 is specifically used for secure LDAP (LDAPS). TCP port 445 is associated with Microsoft Directory Services and SMB (Server Message Block) for file sharing, while UDP port 514 is used for syslog services. Understanding the proper use of these ports is vital for maintaining network security and ensuring efficient communication in directory services.