public void setPort(int port) {
        this.port = port;
        properties.put("ldap.port", Integer.toString(port));
    }
Sets the LDAP server port number. The default is 389. This value is
stored as the Jive property {@code ldap.port}.

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