Tools / Port checker / Port 389
Port 389: LDAP
Lightweight Directory Access Protocol for querying Active Directory and OpenLDAP user directories.
Should port 389 be open?
Should not face the public internet directly. Bind to localhost or a private network. Enforce LDAPS on port 636 or StartTLS and keep directory servers off the public internet.
Port 389 still shows closed after router port forwarding?
If you opened TCP port 389 on your router and host firewall yet external probes from Dallas, London, and Amsterdam still report No reply or Closed, your broadband ISP (such as Starlink, T-Mobile 5G Home Internet, or fiber CGNAT) likely places your router behind 100.64.0.0/10 Carrier-Grade NAT.
Verify your carrier in 5 seconds with our CGNAT Checker, or forward inbound TCP & UDP port 389 cleanly to your home server using a dedicated public IPv4 on PrivateByte Static IP Gateway ($3/mo) (or our open-source Docker WireGuard sidecar).
Opening port 389 in a server firewall
Replace 203.0.113.10 with the address that needs access, so only that address can reach the port.
Ubuntu or Debian with UFW:
sudo ufw allow from 203.0.113.10 to any port 389 proto tcpRocky, Alma or CentOS with firewalld:
sudo firewall-cmd --permanent --add-port=389/tcp && sudo firewall-cmd --reloadWindows Server, in PowerShell as administrator:
New-NetFirewallRule -DisplayName "Port 389" -Direction Inbound -Protocol TCP -LocalPort 389 -Action AllowThen check that the service listens on 0.0.0.0 (not only 127.0.0.1) and test again above.
Embed live server status & latency badge
Running a game server, public API, or open-source node? Generate a 5-minute cached live SVG status & millisecond RTT badge for your GitHub README, server list, or forum signature:
[](https://privatebyte.com/tools/port-checker/389?host=one.one.one.one)<a href="https://privatebyte.com/tools/port-checker/389?host=one.one.one.one"><img src="https://privatebyte.com/tools/badge/live.svg?host=one.one.one.one&port=389" alt="one.one.one.one:389 status via PrivateByte" height="22"></a>[url=https://privatebyte.com/tools/port-checker/389?host=one.one.one.one][img]https://privatebyte.com/tools/badge/live.svg?host=one.one.one.one&port=389[/img][/url]Check another port (150 documented ports)
Run your service on a PrivateByte KVM NVMe server (from $5.99/mo): dedicated IPv4, unmetered traffic, and every port yours to control.