Port 389 (LDAP)
Registered TCP and UDP services for port 389 from the IANA registry snapshot.
Directory clients commonly send LDAP requests over TCP 389. A deployment can negotiate TLS on that connection using StartTLS.
| Protocol | Service name | Registry description |
|---|---|---|
| TCP | ldap | Lightweight Directory Access Protocol |
| UDP | ldap | Lightweight Directory Access Protocol |
Match both the port number and the transport when documenting a service. UDP 389 and TCP 389 identify separate sockets. Check the host configuration to identify the application actually listening.
Check the port on your Windows host
Open PowerShell on the computer running the service. Compare LocalAddress with the configured interface and check which clients the firewall allows.
- TCP ·
Get-NetTCPConnection -State Listen -LocalPort 389· Inspect local TCP listeners - UDP ·
Get-NetUDPEndpoint -LocalPort 389· Inspect local UDP endpoints
Related service ports · 636 · LDAP over TLS