Skip to main content
kahsbnxasxwasx
Known Participant
Apr 11, 2012 7:43 AM UTC
Question

Hi,How to set the maximum number of connections of FMS on the same IP In multiple instances

Thanks for your answer to me, for my bad english, I have a problem, may not easily answered.In multiple instances, limiting the maximum number of connections for the same IP?You give me the answer is to limit a single instance, whether there is a way to limit the number of users of the entire connected to the FMS?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Patel Bharat
    Inspiring
    Apr 11, 2012 8:09 AM UTC

    At FMS side, store client's IP address information from connection request, and get total no of instances are connected to server from the every IP address.

    Translate
    Petro_O__Bochan
    Inspiring
    Apr 11, 2012 7:52 AM UTC

    c:\Program Files\Adobe\Flash Media Server 4.5\conf\_defaultRoot_\_defaultVHost_\Vhost.xml

    ...

    <ResourceLimits>

      <!-- Max number of clients that can connect to this vhost when running as local.  -->

      <!-- enforced by License key -->

      <MaxConnections>-1</MaxConnections>

    ...

    </ResourceLimits>

    or if you have multiple vhosts, then adjust the path. I think this is what you are looking for. You can also control this number with server-side code:

    http://help.adobe.com/en_US/flashmediaserver/ssaslr/WS5b3ccc516d4fbf351e63e3d11a11afc95e-7edfSSASLR.html. Look for entries application.clients.and/or application.rejectConnection.

    Translate
    kahsbnxasxwasx
    Known Participant
    Apr 11, 2012 7:57 AM UTC

    Thank you,But this seems to be to limit the maximum number of connections, I need the maximum number of connections in the same IP, this seems to limit the number of connections, is not it?

    Translate
    Petro_O__Bochan
    Inspiring
    Apr 11, 2012 8:00 AM UTC

    You mean you want to limit a connection from a user having the same IP? In other words, only one user coming from one IP can connect to your app?

    Translate