Skip to main content
May 11, 2011
Question

Get More Info for NetConnection.Connect.Failed Error?

  • May 11, 2011
  • 1 reply
  • 1304 views

I have a single server that runs IIS and FMS, both on port 80.  The server has two internal IPs assigned to it, one for IIS and the other for FMS.  I also have two static public IPs.  My router maps one public IP to IIS' internal IP and likewise for FMS.

IIS works fine.  Using an online port scanner, I was able to determine that port 80 is responsive for both public IPs.  Before I had configured my Adapter.xml and fms.ini, only IIS' public IP was responsive.  This seems to indicate that FMS is fine.

However, when my ActionScript creates a NetConnection and calls connect(), my netStatus callback takes about half a minute to be invoked, and I get "NetConnection.Connect.Failed".  Which is not very informative.  Is there a way to get more info about the cause of the error?  Also does anyone have suggestions for how to debug this issue?

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    May 16, 2011

    Hi,

    Thanks for trying out FMS..

    I can guide you with few checkpoints to first see where the problem might be.

    1. Go to the FMS installation directory and check for the logs folder. See all the logs (according to date) and find if the port bindings are all successful. This might tell us whether FMS actually has started or not.

    2. FMS works on port 1935 for RTMP streaming. It also gets bundled with apache (listening on 8134) but one of the fms processes also takes hold of 80 for its tunneling streaming as well as redirecting to apache. So either you remove this entry from fms.ini or change it to reflect to some other port. ADAPTER.HOSTPORT is the variable to look for.

    3. How are you making sure that FMS is working/not working ?

    4. Please turn off your firewall or other secutiry for testing purposes to see if you are able to hit the FMS .

    Let us know if any of the above are helpful in getting some more information.

    Thank you !