Perforce Public Knowledge Base - Which port should I use for LDAP ?
Reset Search



Which port should I use for LDAP ?

« Go Back


An LDAP server has different ports available for connections depending on the type of connection required, encrypted or unencrypted.
Which one should be used for which type of encryption ?
There may be exceptions, but as a general rule the port you should use will be:
  • Port 389 has historically been used for unencrypted connections into an LDAP server.
  • Port 636 is used for legacy SSL connections.
  • Port 389 is used for TLS connections; TLS establishes a non encrypted connection on port 389 that it 'upgrades' to an encrypted TLS connection as the initial connection proceeds.This allows unencrypted and encrypted connections to be setup and handled by this one port.
The Perforce LDAP specification must therefore have the specified 'Port:' field corresponding to the relevant encryption method in the 'Encryption:' ('none', 'ssl' or 'tls') field.
Related Links



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255