public int getPort() {
        return port;
    }
Returns the LDAP server port number. The default is 389. This value is
stored as the Jive Property {@code ldap.port}.

@return the LDAP server port number.
xmppserver/src/main/java/org/jivesoftware/openfire/ldap/LdapManager.java