636Port
TCPProtocol
ldapsIANA service nameAuthentication & directoryCategory
Port range
636 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.
Security
Only open port 636 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 636 in a firewall
ufw sudo ufw allow 636/tcp iptables sudo iptables -A INPUT -p tcp --dport 636 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=636/tcp Windows New-NetFirewallRule -DisplayName "LDAPS 636" -Direction Inbound -Protocol TCP -LocalPort 636 -Action Allow
Check if port 636 is open
nc -vz example.com 636 Test-NetConnection example.com -Port 636 # PowerShell sudo ss -tulpn | grep ':636 ' # what is listening locally (Linux)