Skip to main content
Participant
February 2, 2009
Question

Problem with NetConnection between FMS2 and FMS2

  • February 2, 2009
  • 1 reply
  • 317 views
Hi all, here is my problem:

I have 2 servers, both with FMS 2.05, lets call them FMS_A and FMS_B

I want an application running on FMS_A to connect on an application on FMS_B

If FMS_B has no security restrictions (tag <Allow> in vHost.xml), this works fine.

BUT, if I want want to restrict the IP/domain allowed to connect to FMS_B, this won't work, even if I allow IP of FMS_A in vHost.xml:
<Allow> ip1, dns1, .... , <ip FMS_A>, <dns FMS_A>, ...., ip, ip</Allow>

I can connect from a swf, and the restriction is working well, but not when the NetConnection is started by a FMS application...

Here the error message, found in logs/core.xx.log:

Rejecting connection from rtmp://_defaultVHost_:1935/myApplyClient/myInstance to rtmp://<IP_FMS_B>/myAppliServer/myInstance. -
Connection rejected by server. Reason : [ Server.Reject ] : Rejecting connection from rtmp://_defaultVHost_:1935/myApplyClient/myInstance to <IP_FMS_B>/myAppliServer/myInstance. -


The IP rejected is... _defaultVHost_ ????
I even tried to allow _defaultVHost_ but this doesn't work...

Anyone can help please ?

Thanks

PS: We already have 2 FMS2 licence pro, and don't intend to upgrade to FMS3 for now, so it's a FMS2 problem
    This topic has been closed for replies.

    1 reply

    FabRGzAuthor
    Participant
    February 5, 2009
    I found a sort of solution to my problem... but this isn't enough...

    So in my example, FMS_B tries to connect to FMS_A.

    The DNS of FMS_B is myserver.myprovider.com

    In vHost.xml of FMS_A, if I put this:
    <ALLOW>myserver.myprovider.com</ALLOW>
    then the connection is Rejected.

    In vHost.xml of FMS_A, if I put this:
    <ALLOW>myprovider.com</ALLOW>
    then the connection is Accepted.

    Rather strange...