LDAPS uses port 636 to protect directory queries with SSL/TLS. Regular LDAP typically runs on port 389, while Global Catalog traffic uses 3268 without SSL and 3269 with it. Knowing these port numbers helps make network configurations clearer and easier to troubleshoot.

Multiple Choice

Which port is LDAP over SSL?

LDAP over SSL uses the LDAPS port, which is 636. Regular LDAP runs on 389 without encryption, while 443 is for HTTPS, and 3268 is the LDAP Global Catalog port (non-SSL; its SSL variant is 3269). Therefore, 636 is the standard port for LDAP over SSL.

LDAP over SSL uses port 636. You may also see this service called LDAPS: the secure form of the Lightweight Directory Access Protocol. That number is worth remembering, but it makes more sense when you see how it fits beside LDAP’s other ports and the services that use them.

LDAP helps computers and applications find information stored in a directory. A directory is a bit like a well-organized address book, though it can hold far more than names and phone numbers. In a company, it might store user accounts, group memberships, email addresses, and details about which systems a person can access. When an application needs to check a login or look up an account, it can send a request to a directory server using LDAP.

The short route to LDAPS

The standard port for LDAP over SSL is TCP 636. In common usage, LDAPS means that the client starts a secure TLS connection as soon as it connects to the server. The connection is encrypted from the outset, rather than beginning as plain LDAP traffic and being secured later.

“SSL” remains part of the familiar name, but modern secure connections generally use TLS, the successor to SSL. So LDAPS is often described as LDAP over SSL even when the actual connection uses TLS. It’s a small naming quirk, like calling a film camera “35mm” after the format it uses: the label sticks around, even as the technology moves on.

Port 636 is the default associated with this direct secure connection. A network administrator can configure services to use different ports, but doing so means clients also need to know about the change. Defaults matter because they let software and infrastructure communicate without requiring every setup to be custom-built.

LDAP’s other common ports

LDAP’s ordinary, non-encrypted connection traditionally uses port 389. It can also support StartTLS, a method that begins with an LDAP connection and then upgrades it to TLS. In that setup, the initial connection uses port 389, and the client and server negotiate encryption before sending sensitive information.

That distinction can cause confusion. Port 389 doesn’t always mean that every part of the conversation stays unencrypted; StartTLS can secure a connection on that port. But port 636 is the familiar default for LDAPS, where the secure session starts immediately. The port number tells you how a service is commonly reached, while the protocol settings determine what happens after the connection begins.

Another number that often appears in directory discussions is 3268, the default port for the Microsoft Active Directory Global Catalog service. A Global Catalog helps locate directory information across a larger Active Directory environment, such as one with several domains. Its secure counterpart uses port 3269.

And then there’s 443, the standard port for HTTPS traffic. It’s easy to mix up because HTTPS also uses TLS, but it serves a different application protocol. HTTPS carries web traffic; LDAPS carries LDAP directory traffic. Encryption is the shared ingredient, not the service itself. Think of it like two kinds of delivery vans that both have locks on the doors: the lock matters, but it doesn’t tell you what they’re carrying.

Why encrypt a directory connection?

Directory servers can hold highly sensitive information. Even when they don’t store passwords in a form that can be read directly, they may handle authentication requests, account details, or group data that could reveal how an organization is structured. If that traffic crosses a network without encryption, someone with access to the network path may be able to inspect it or interfere with it.

TLS helps protect data in transit. It encrypts the connection between the client and server, making the exchanged information much harder for an outside observer to read. It can also help the client confirm that it has reached the intended server, provided the server presents a trusted certificate and the client checks it correctly.

That last part matters. Encryption alone doesn’t guarantee that a client is speaking to the right directory server. If certificate checks are ignored or configured poorly, a secure connection can still be vulnerable to impersonation. In other words, a padlock is useful only when you know whose door it is.

Secure directory connections also help protect credentials. Applications often send authentication information while binding to an LDAP server. A bind is the protocol’s way of establishing an identity for a session. If credentials travel over a plain, unprotected connection, they may be exposed to anyone able to monitor that traffic. TLS reduces that risk, though strong account controls and sound server configuration still matter.

A port number is a clue, not the whole story

Port numbers are helpful shorthand, but they don’t prove what a service is doing. A server can be configured to listen on a nonstandard port, and network rules can redirect traffic. Likewise, a connection on port 389 could use StartTLS, while a connection on 636 could fail to provide a trustworthy secure session if certificates or server settings are wrong.

For that reason, administrators look beyond the number. They check the server’s configuration, certificate chain, TLS settings, and client behavior. They also confirm that firewalls allow the required traffic and block services that shouldn’t be reachable from outside the organization. It’s a little like reading a street address: useful, certainly, but it doesn’t tell you whether the building is open or whether you’ve reached the right entrance.

This broader view is especially useful in environments that combine applications from different vendors. One system may expect LDAPS on 636, while another may be set up for LDAP with StartTLS on 389. If the client and server disagree about the connection method, authentication can fail even when both machines are working normally. Clear documentation saves a lot of head-scratching.

Keeping the numbers straight

A compact way to remember the common defaults is to pair each port with its role:

  • 389: LDAP, with StartTLS available when configured

  • 636: LDAP over SSL/TLS, commonly called LDAPS

  • 3268: Active Directory Global Catalog

  • 3269: Secure Active Directory Global Catalog

  • 443: HTTPS

These are standard defaults, not rules that can never change. Still, they’re a useful map when reading firewall policies, troubleshooting an application, or reviewing a network diagram.

The key distinction is simple: 636 is the standard LDAPS port, while 389 is the familiar LDAP port that can be upgraded with StartTLS. The Global Catalog uses 3268 and its secure counterpart 3269, while web traffic commonly uses 443. Once you separate the service from the encryption method, the numbers stop looking like a jumble—and directory traffic becomes much easier to follow.