Port 389 (TCP/UDP) โ€” LDAP

Lightweight Directory Access Protocol.

๐Ÿ”’ Runs locally โ€” your input never leaves this browser tab

Port
389
Protocol
TCP/UDP
Service
LDAP
Internet exposure risk
High

Use LDAPS (636) and never expose directories publicly.

Check if port 389 is open

On the server, see what is listening:

sudo ss -tulpn | grep ':389 '

From another machine, test reachability:

nc -zv your-server.example.com 389

Block port 389 from the internet

With UFW (Ubuntu/Debian):

sudo ufw deny 389

With firewalld (RHEL/AlmaLinux/Rocky):

sudo firewall-cmd --permanent --remove-port=389/tcp && sudo firewall-cmd --reload

โ† All common ports