Skip to main content
February 26, 2007
Question

Problems connecting to FMS 2

  • February 26, 2007
  • 3 replies
  • 648 views
Hi there,

I'm having problems getting any applications for FMS 2 to work. The server is definitely running - I can see it in Task Manager and I can connect via the management console. I downloaded the sample applications and none of these work and every tutorial I try doesn't work. Nothing seems to connect to the server.

In client applications when I check the NetConnection status it says the connection has failed. But I don't see anything in the NetConnection debugger so it's like it hasn't even tried to connect.

I'm on Windows XP but I've also tried it on a 2003 machine with no luck. I've tried disabling the firewall and that makes no difference either.

There must be something I'm missing but I can't work it out.

Thanks for any help you can give me.

Andy
    This topic has been closed for replies.

    3 replies

    February 27, 2007
    Got it working on Linux now. For anyone stuck on that, this post helped me diagnose the problem:

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=578&threadid=1090584&highlight_key=y&keyword1=FC4
    Known Participant
    February 26, 2007
    Do u have an applications folde called "counter" in your apps dir?
    February 26, 2007
    Yes. It seems to be a more general problem as I haven't got any application to work. I should see something in NetConnection debugger at least shouldn't I?
    February 27, 2007
    I've been getting

    Asynchronous I/O operation failed (Failed to attach to completion port: The parameter is incorrect. 87).

    in the FMS logs. It's mentioned here:

    http://livedocs.macromedia.com/fms/2/docs/00000009.html
    https://service.breezecentral.com/cfusion/webforums/forum/messageview.cfm?catid=578&threadid=1158417&enterthread=y

    But nobody seems to have come up with a solution.

    I'm going to give up for now and try and get it working on a Linux machine.

    Thanks
    Known Participant
    February 26, 2007
    Can you paste your connection code?
    What server are you on?
    February 26, 2007
    Sorry I should have said - I'm just developing locally - the server is running on the same machine.

    The latest example I tried was this one - http://www.flashcomguru.com/tutorials/access_counter.cfm. Connecting to the URL rtmp://localhost/counter/count. I added the following to see what was happening with the connection:

    conn_nc.onStatus = function(info) {
    switch (info.code) {
    case "NetConnection.Connect.Success" :
    trace("Online");
    break;
    case "NetConnection.Connect.Failed" :
    trace("Cannot reach server. Possible network error.");
    break;
    case "NetConnection.Connect.Rejected" :
    trace(info.application.msg);
    break;
    case "NetConnection.Connect.Closed" :
    trace("Connection closed.");
    break;
    }
    };

    It gives - "Cannot reach server. Possible network error"

    Plus I've tried the sample applications - http://www.adobe.com/devnet/flashmediaserver/sample_apps.html. So it's all pretty standard stuff. I haven't tried developing my own apps yet.