Skip to main content
kahsbnxasxwasx
Known Participant
April 11, 2012
Question

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

  • April 11, 2012
  • 2 replies
  • 2454 views

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 has been closed for replies.

    2 replies

    Patel Bharat
    Inspiring
    April 11, 2012

    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.

    Petro_O__Bochan
    Inspiring
    April 11, 2012

    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.

    kahsbnxasxwasx
    Known Participant
    April 11, 2012

    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?

    Petro_O__Bochan
    Inspiring
    April 11, 2012

    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?