Port 636 — LDAPS
TCP well-known
What runs on port 636
LDAP over TLS.
Security considerations
Preferred over plain LDAP on 389 whenever credentials are involved.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :636
sudo ss -lntp | grep :636
# Windows
netstat -ano | findstr :636
Get-NetTCPConnection -LocalPort 636
# is it reachable from outside?
nc -zv example.com 636
curl -v telnet://example.com:636
Freeing the port
# find the process, then stop it
sudo lsof -ti :636 | xargs kill # Linux / macOS
netstat -ano | findstr :636 # note the PID, then:
taskkill /PID <pid> /F # Windows