LDAP Connection Error: "java.net.ConnectException: Connection refused"
The LDAP connection error "java.net.ConnectException: Connection refused" indicates that the remote host responded, but no LDAP service was found at the specified port number.
The server at the given host responded, but no Lightweight Directory Access Protocol (LDAP) service is found at the given port number. Possibly the remote server is not running an LDAP service or the port number is incorrect.