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.Success")||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 .

I think there is no problem in this code.
because In the documention 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

Similar Messages

  • I can't connect to Flash Media Server 5 on UBUNTU

    Hello everyone,
    I install Flash Media Server 5 Extended edition with apache on UBUNTU SERVER 14.04 successfully.
    Now when I type IP address in the other computer in the same network I can login to the Flash Media Server console but when I want to publish video from webcam or other devices to the media server I get the error "NetConnection.Connect.Failed"
    I am newer in Linux please advise me to solve this problem.
    Thanks in advance.

    Hello,
    You are using the default discovery service : multicasting
    Check if the multicasting is working on your system
    http://radio.weblogs.com/0132383/stories/2004/05/21/mutlicastChecker.html
    Else, you can switch to the other "Discovery service" : namingservice
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#CHDDDFEI
    3.3 Configuring the Reports Server Discovery Mechanism
    Regards

  • Slow connection to flash media server 2 (with HTTP Tunneling)

    Hello,
    I use a FMS2 for a big project which include Instant
    Messenger and
    streaming video.
    On my development platform. I have no problem. But in the
    final
    configuration, the connection to Flash Media Server takes a
    lot of
    time (about 2 or 3 minutes) and i can't find why.
    FMS2 was installed on Windows 2003 Server behind a proxy and
    a
    firewall which only let the hostport 80 oppened.
    The server does not run a web server (or anyother
    application) which
    use this hostport.
    The connection are established by HTTP Tunneling.
    Does someone already have the same problem?
    Thanks for your answers and sorry for my poor english level.
    Guillaume

    I forgot to mention:
    Flash Media server is running fine. I can log into the Admin
    application no probs.
    I created a folder called "test". Inside that folder I
    created another one called streams and inside that folder I created
    a folder called _definst_.
    I placed an flv file called: test.flv in to the _definst_
    folder.
    In Dreamweaver CS3 I inserted a Flash Video File:
    Chose Streaming as the option and for the RTMP path I put:
    rtmp://ipaddressofserver/test/_definst_/test.flv
    Called the stream....test.
    When i run the page it loads, but the page is blank.
    In the Flash Media Server, in the "View Applicationd" tab
    I get the record of test and underneath it in the same link
    it says test.flv with 1 client
    The Streams tab shows a random name and Netstream.
    This tells me its recognising the connection and link, but
    the movie is not on the page
    any help would be appreciated
    cheers

  • OSMF handling connections on Flash Media Server

    How do I "kill" a connection on Flash Media server using OSMF?
    Can I just "stop" a video (i.e. _player.stop() ) or do I have to set the media to null?

    MediaPlayer.stop() will only stop playback of the stream, but not close the connection.
    If you set MediaPlayer.media to null, then it will close the connection.

  • I do not obtain to connect in Flash Media Server !!

    Hi people
    I do not obtain to connect in Flash Media Server after that I
    installed it !!!
    I go in Star > Programs > Macromedia > Flash Media
    Server > Manangement Console
    In go in the console and I place the password and the user
    who I placed at the moment of the installation and go in Login, but
    I do not happen nothing!
    Somebody can help me ?
    Sorry my english
    PHANTOXE

    Did you look in
    Program Files\Macromedia\Flash Media Server 2\conf
    that's where
    fms.ini is located. HTH...

  • FMS4 -Set the Flash Media Server services to Run as Administrator (FMSCore not running)

    Installed fms4  x64 on windows server 2008 to try it out. When i open up task manager to check processes running, FMSCore process does not runhttp://kb2.adobe.com/cps/862/cpsid_86205.htmlI found this in the knowledge base but step3 "Run this program As Administrator" checkbox is greyed out so i cannot do anything. I have stopped and restarted service so many time, rebooted server at least twice.
    Even the video that's supposed to play when you click the start screen is not playingSet the Flash Media Server services to Run as Administrator
    Complete the following steps for each of the following files located in the Flash Media Server root installation folder (C:/Program Files/Adobe/Flash Media Server, by default):
    FMSAdmin.exe
    FMSCore.exe
    FMSMaster.exe
    FMSEdge.exe
    Right-click the file and chooseProperties.
    Select the Compatibility tab and click Change Settings For All Users.
    Select Run This Program As Administrator. Click Apply, and then click OK.
    Complete these steps for each Flash Media Server service.
    Restart the computer.
    Flash Media Server starts when the computer starts.

    Hi,
    Thanks for using FMS4.
    When you said "
    I have stopped and restarted service so many time, rebooted server at least twice. "
    How did you make sure that the services are restarted ? Probably they have not yet started at all ? You need to have admin privileges to start/stop the FMS services. Please make sure you have the admin rights for the logged in user.
    Open a command prompt as admin, and run the following commands :
    net start fms
    net start fmsadmin. 

  • Whether Sophos Antivirus can stop taking connection by Flash media server?

    Hi
    Our flash media server  stops taking connection sometime. Any one have any idea about sophos antivirus?
    Please suggest what should we do.
    Thanks in advance.

    Thanks SE for the reply.
    But i got a message "Connection to the Server Failed. Please try to rejoin the call".
    We were not getting this problem before installation of anitvirus on our client machine. Now FMS gets down or we can say not accepting connection. Even at that time(server down condition) we can't enter into managment console of FMS. Sometime it start taking connection after one hour or two hour. 

  • FMLE not connecting to Flash Media Server

    I have two laptops with windows 7 and FMLE 3.2 and FMS 4.5 in them. Laptop A is working perfectly with the default settings but i cannot connect to FMS with laptop B. I have tried turning windows firewall off, setting fmscore, fmscore and fmsmaster to run under administrator privileges.
    The FMS starts correctly on laptop B (i compared the log-files on laptop a and b) and here is edge.00.log from laptop B (i censored my ip and host):
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          12:37:37          3432          (i)2581173          FMS detected IPv6 protocol stack!          -
    2012-08-09          12:37:37          3432          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -
    2012-08-09          12:37:37          3432          (i)2581173          FMS running in IPv4 protocol stack mode!          -
    2012-08-09          12:37:37          3432          (i)2581173          Host: myhost IPv4: myip      -
    2012-08-09          12:37:37          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4          -
    2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 1935/v4          -
    2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 80/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:19350 (rtmfp-core)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4          -
    2012-08-09          12:37:39          3432          (i)2631509          Public rtmfp-core addresses for listener _defaultRoot__edge1 are: myip:19350          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:1935 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:80 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:80 (rtmfp)/v4          -
    When i hit Connect button in FMLE i get the "Cannot connect to primary server" - error. When i change the FMS-Url to the ip-address of my laptop A i can connect to its FMS. The default FMS Url is rtmp://localhost/live and  Stream: "mystream@38220" (this is working in laptop A).
    I downloaded TCPView and compared whats happening with the laptops when i hit the Connect button. On laptop B FMLE sends bytes to FMSEdge and it responds with 1 byte and then nothing happens. On laptop A same thing happens but it opens up FMSCore and the stream starts going live.
    Apparently the FMS had worked on laptop B before but then it stopped working due to reasons unknown. I tried reinstalling it with no results and now im clueless. I also tried the fmscheck and it said it cannot connect to FMS. It seems the FMSEdge is not behaving correctly or something is blocking the traffic between the programs. Please help.

    Access log looks like this:
    #Date: 2012-08-09
    #Fields: x-event          x-category          date          time          tz          x-ctx          s-ip          x-pid          x-cpu-load          x-mem-load          x-adaptor          x-vhost          x-app          x-appinst          x-duration          x-status          c-ip          c-proto          c-proto-ver          s-uri          cs-uri-stem          cs-uri-query          c-referrer          c-user-agent          c-client-id          cs-bytes          sc-bytes          c-connect-type          x-sname          x-sname-query          x-suri-query          x-suri-stem          x-suri          x-file-name          x-file-ext          x-file-size          x-file-length          x-spos          c-spos          cs-stream-bytes          sc-stream-bytes          x-service-name          x-sc-qos-bytes          x-comment          x-eid          x-sid          x-trans-sname          x-trans-sname-query          x-trans-file-ext          x-trans-mode          x-soffset          x-codec-type          x-codec          x-plugin          x-page-url          x-smax-rec-size          x-smax-rec-duration          x-forwarded-for
    server-start          server          2012-08-09          12:35:42          FLE Daylight Time          -          192.194.211.110          7492          0          48          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -
    Then there is the master log:
    #Date: 2012-08-14
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-14          13:30:12          3216          (i)2581173          FMS detected IPv6 protocol stack!          -
    2012-08-14          13:30:12          3216          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -
    2012-08-14          13:30:12          3216          (i)2581173          FMS running in IPv4 protocol stack mode!          -
    2012-08-14          13:30:12          3216          (i)2581173          Host: Tatu-PC IPv4: 192.194.211.110          -
    2012-08-14          13:30:12          3216          (i)2571011          Server starting...          -
    2012-08-14          13:30:12          3216          (i)2581224          Edge (2992) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".          -
    2012-08-14          13:30:12          3216          (i)2571111          Server started (C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml).          -
    And the core log
    #Version: 1.0
    #Start-Date: 2012-08-09 09:35:26
    #Software: Adobe Flash Media Server 4.5.0 r297 x86
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          09:35:26          5380          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          11:51:27          1340          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          11:51:36          7848          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          12:35:43          7492          (e)2571122          Server aborted.          -
    I tried connecting to localhost:1935 with telnet and typing something and then watching what happens in TCPView. It says that the fmsedge process listening to port 1935 establishes the connection and receives the bytes, though it closes it after few seconds probably because it doesnt understand what data i sent. And when FMLE sends 1537 bytes to fmsedge it receives them but nothing happens.

  • The connection to flash media server has failed

    whenever i try to log into chatzppl i get this message,i can log into other sites fine,any idea's please.

    Hi 1030bob, I just noticed this post and wondered if it is related to the other one that
    was solved?  The reason I was asking, is that another poster replied to you on this one
    and I don't know if he posted his issue. I wanted to respond to him but if you know, please
    advise. Thank-you!
    Between all of us working together, maybe we'll clear the problems out!!!

  • Hi, where can I download the adobe media server setup file?

    same as above.

    Hi fypalan,
    Check this link :-
    https://www.adobe.com/cfusion/tdrc/index.cfm?product=adobemediaserver&loc=en_us
    This may be helpful.
    Thanks,
    Manish Sharma

  • How do screen sharing in Flash Media Server?

    Can one use the Flash Media Server to share a window that one
    is currently working on with everyone so that everyone could see
    (through the Web)? If yes, how can we do it?

    FMS doesn't support screen sharing... Adobe is keeping that
    one for themselves.
    What you can do (although it's a sloppy hack) is to use a
    screen capture driver like Camtasia, and have the user (the one
    with the desktop that is to be viewed) select that as their camera
    source. You then treat it like any other live video stream.
    This means that anyone who is going to show their desktop
    needs to have the screen cap driver installed.

  • How to get list of logged-in users from Flash Media Server in a Flash programm? (Or login/logout notifications)

    Hi there,
    I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
    Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
    Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
    How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
    Thank you so much. And I hope you understand my situation asking here...
    Jana

    hparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
    Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..?

  • Flash Admin Console shows no applications on my Flash Media Server?

    Hi all,
    My employer has a Flash Media Server that I wrote a little streaming video app for a couple years ago.  Well, the videos have stopped working and I've been asked to troubleshoot.  I fired up the fms_adminConsole.swf and connected to my server.  Now, it's been a long time since I've messed with the server, but if I remember right, there was a big list of apps on the list on the left hand side of the "View Applications" view of the console.  When I log in, there are no applications listed.  If I hit the "New Instance" button under the empty list, I'm presented with a list of all the apps I think I should be seeing in the Applications list.  If I select any of these, a new application instance appears in the applications list, and I'm prompted to give it a name, the default being "_definst_".  If I hit enter to create this instance, it remains on the list and instance data appears on the right panel until the console refreshes, and then all that vanishes and I'm back to an empty applications list again.
    Going to "Manage Servers", I do see a list of applications under the applications tab that I expect to see.  The app that streams the video that's having problems is there on the list.
    Is this typical behavior for the Flash Media Server Console?  Shouldn't I have a list of apps in the "View Applications" section of the console?  I've created about a dozen to date, and they're all listed under Manage Servers > Applications, but not under "View Applications".  Can anyone point out if I'm doing something wrong here or missing something?  Or can someone confirm that I SHOULD be seeing something under "View Applications" and that there is indeed something weird going on with the server.
    Thanks for any assistance!

    What you are seeing is correct behaviour. Until and unless applications are loaded or some clients are connected to them, they wont be shown under view applications tab by default. Try connecting to one of the applications you have and then you will see it automatically gets listed there.

  • Flash Media Server & 123FlashChat

    Hi All,
    I've setup a chat room using 123FlashChat with webcams
    enabled. Once in the chat room users can activate their webcams and
    everyone can see each other and I can see the connections in the
    Flash Media Server admin console. Any advice / assistance
    appreciated on the following:
    a) How do I record the sessions
    b) How do I lock sessions down so they are only one-to-one?
    Many thanks

    The thing about FMS is that it doesn't do anything on it's
    own. In order to get your application to record, it needs to be
    programmed to record (there is no "magic switch" anywhere that will
    start recording for you.)
    So, you'll need to either reprogram the 123FlashChat
    application to support recording, or build a new application that
    does what you need it to. Based on what you wrote above, my advice
    would be to build (or contract a programmer to build) an
    application that suits your specific needs.

  • Config Flash Media Server

    Hello
    I am new with this, I have a problem
    I have installed the flash media server in a windows 2008 server with IIS
    when I run the test page at ...Adobe/Flash Media Server 4/webroot/index.html all works
    but if call it from media live encode to stream from outside the server just dont works
    here are the config lines
    SERVER.ADMIN_USERNAME = xxxxx
    SERVER.ADMIN_PASSWORD = xxxxxxxx
    SERVER.ADMINSERVER_HOSTPORT = :1111
    SERVER.PROCESS_UID =
    SERVER.PROCESS_GID =
    SERVER.LICENSEINFO = xxxxxxxxxxxxxxxxxx
    LIVE_DIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\applications\live
    VOD_COMMON_DIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\webroot\vod
    VOD_DIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\applications\vod\media
    SERVER.FLVCACHE_MAXSIZE=500
    SERVER.HTTPD_ENABLED = true
    ADAPTOR.HOSTPORT = :1935,80
    HTTPPROXY.HOST = 209.239.120.100:80
    VHOST.APPSDIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\applications
    APP.JS_SCRIPTLIBPATH = C:\Program Files (x86)\Adobe\Flash Media Server 4\scriptlib
    LOGGER.LOGDIR =
    USERS.HTTPCOMMAND_ALLOW = true
    when I use the test page I can see in the admin page log this
    Mon 12:02:00 AM: Connect : rtmp://localhost:1935/vod
    Mon 12:02:02 AM: Connect : rtmp://localhost:1935/vod
    I only have one ip 209.239.120.100
    and what should be my FMS URL
    for the hekp thanks a lot

    When you say this "but if call it from media live encode to stream from outside the server just dont works" - you mean you are trying to connect to FMS machine from FMLE which is installed on different machine - Am i right? - if that's the case - please check if your firewall is open for ports 1935,80.

Maybe you are looking for

  • What is the limit of allocated roles to a menu

    Hi, I am currently using forms6i on an 8.1.7.4 database. I have been told that on this version of forms I can only allocate 255 module roles to the menu. We are starting to reach this limit with 235 roles at the moment. I have a few ways to get round

  • Problem  with Input Text Field

    I am trying to use the binding tag for a inputText field... The value of the text Field is a hashmap, in which the key is equal to the binding variable i have used <h:inputText id="ug" binding="#{userBean.ugclassCode}" rendered="true" value="#{userBe

  • Question about Finder Behavior

    When I go to Finder/Go/Network, sometimes the Finder won't open the Network window, and when it does, the icons are won't stay in icon-view mode. Any ideas what the problem might be? Also, when I run System Maintenance Scripts, will they clean up all

  • Reader XI has suddenly stopped loading any images in pdf's.  Any idea why?

    Reader XI has suddenly stopped loading any images in pdf's.  Any idea why?

  • DV2000 has a bad hdd that won't power up

    This DV2000 i'm working on has a bad hdd that won't power up & used a usb device to clarify the issue. Shouldn't the system bootup to bio's even though the hdd is gone? Worked on alot of desktops & I know they should boot to bio's so you can set the