public int getMaxPort() {
        return maxPort;
    }
Returns the maximum port value to listen for incoming packets.

@return the maximun port value.
xmppserver/src/main/java/org/jivesoftware/openfire/mediaproxy/MediaProxy.java