public int getMaxPort() {
        return mediaProxy.getMaxPort();
    }
Get Maximum port value to listen from incoming packets.

@return maxPort
xmppserver/src/main/java/org/jivesoftware/openfire/mediaproxy/MediaProxyService.java