Professional Web Applications Themes

Can't connect the Flash Media Server - Macromedia Flash Flashcom

hi ,I am a jackaroo in Flash Media Server My OS is Windows XP ,I install the Flash Media Server in C:\programme files\ using fms2_console.swf i can successfully connect to the server and manage it. I make a empty folder named 'test' in the application folder then i deploy it in cosole. next I write actionscript in flex to connect to the server. but it always return 'connection failed' in the server log ,it displays 'Sun 06:46:55 PM: Core (3964) socket migration failed.' I use netstat -a ,the port 1111,1935 ,11110,19350 are open. The code I writed looks like this ...

  1. #1

    Default Can't connect the Flash Media Server

    hi ,I am a jackaroo in Flash Media Server
    My OS is Windows XP ,I install the Flash Media Server in C:\programme files\
    using fms2_console.swf i can successfully connect to the server and manage it.
    I make a empty folder named 'test' in the application folder then i deploy it
    in cosole.

    next I write actionscript in flex to connect to the server. but it always
    return 'connection failed'
    in the server log ,it displays 'Sun 06:46:55 PM: Core (3964) socket migration
    failed.'
    I use netstat -a ,the port 1111,1935 ,11110,19350 are open.
    The code I writed looks like this

    NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
    public var net_con:NetConnection;
    net_con=new NetConnection();
    net_con.addEventListener(NetStatusEvent.NET_STATUS ,connectionHandle);
    net_con.connect("rtmp:/test");

    private function connectionHandle(event:NetStatusEvent):void
    {

    if((event.info.code=="NetConnection.Connect.Succes s")||net_con.connected==true)
    {
    Alert.show("CONNECTION SUCC???");
    }
    else
    {
    Alert.show("CONNECTION FAILED???");

    }
    }
    I don't why it cann't connect to the server
    I googled it but find nothing helpful and I think you can help me .
    Very sorry for my bad english .

    storm wind Guest

  2. #2

    Default Re: Can't connect the Flash Media Server

    probably the rtmp string is wrong ........

    net_con.connect("rtmp:/root_folder/swf_name");
    calmchess333 Guest

  3. #3

    Default Re: Can't connect the Flash Media Server

    I think there is no problem in this code.
    because In the doention flashmediaserver_developing.pdf

    It's write
    "Applications are run by creating application instances. When a client
    connects to an
    application, the client is actually connected to an application instance. For
    example, a client
    connects to an application named chat_app, as the following example shows:
    nc.connect(?rtmp://myDomain.com/chat_app?);"

    I also tried rtmp://127.0.0.1/test ,but same result

    storm wind Guest

  4. #4

    Default Re: Can't connect the Flash Media Server

    i also have this problem:
    (i)2581246 Core (6744) sending register cmd to edge. -

    (i)2581249 Core (6744) socket migration failed. -
    who can tell me why?
    sharegame Guest

Similar Threads

  1. Flash Media Server 3 and Adobe Connect 6.0 SP2
    By Luciano Hoffmann in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: March 31st, 09:58 AM
  2. flash media server wont connect
    By jankev in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: March 11th, 05:31 PM
  3. Flash media server - high server load
    By ian-stuart in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: September 3rd, 10:31 PM
  4. Replies: 0
    Last Post: August 15th, 09:24 AM
  5. I do not obtain to connect in Flash Media Server !!
    By phantoxe in forum Macromedia Flash Flashcom
    Replies: 4
    Last Post: June 4th, 12:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139