Skip to main content
Inspiring
May 14, 2008
Answered

FMS3 localhost connection only working

  • May 14, 2008
  • 4 replies
  • 701 views
I have seen many topics with somewhat the same title and issue but have yet to find a fix. I will give as much information and if anyone can help it would be appreciated. I have installed Flash Media Server 3 on a Windows 2003 Server as Developers Edition. I have set up a simple project that has the following code:

Head<script type="text/javascript" language="javascript" src=" http://<server_ip>/flash/swfobject.js"></script>
Body<div id="videocontent">This content requires Flash and Javascript turned on. <a href=" http://www.adobe.com/products/flashplayer/" target="_blank">Download</a> the latest Flash player</div>

<script type="text/javascript">
var so = new SWFObject(" http://<server_ip>/flash/mediaplayer.swf", "player", "555", "335", "8");

so.addVariable( "file", "rtmp://<server_ip>/Vod/" );
so.addVariable( "id", "02_Alt_DB_Bi_Curls" );
so.addVariable( "backcolor", "0x262626" );
so.addVariable( "frontcolor", "0xffffff");
so.addVariable( "image", " http://10.1.1.1/images/stories/images/personal_trainer.jpg" );
so.addParam( "allowfullscreen", "false" );
so.addParam( "scale", "noscale" );

so.addVariable( "autoplay", "false" );

so.write("videocontent");

</script>

The player can be found here ( http://www.jeroenwijering.com/?item=JW_FLV_Player). Anyways, when I connect via Firefox or IE on the localhost the video plays and the server registers a connection. When you connect from any other host thats not the localhost it will show will show the progress circle and nothing happens. In the server it shows the server connects but then instantly gets disconnects, and in the server log it just simply shows that the host connected, no messages of disconnects. If you need anymore information let me know, I will try to provide.

Thanks
    This topic has been closed for replies.
    Correct answer cousintroy
    Found out the issue was the movie itself. Something is messed up with it, downloaded another sample FLV and it worked perfectly.

    4 replies

    Participating Frequently
    May 27, 2008
    Odd that you can do a remote connect, and then automatically get disconnected.

    Since it seems to work locally, and not remotely, perhaps it is a flash player security related issue:

    Flash Player does not allow local SWF files to communicate with the Internet without a proper configuration. For information on setting up a configuration file to test content locally, see Creating configuration files for Flash development. http://livedocs.adobe.com/flash/8/main/00001613.html#244861

    Inspiring
    June 3, 2008
    Techeye...thanks for the attempt but that did not work. There is no #Security folder listed in that tutorial. Well looks like I still need to look.
    cousintroyAuthorCorrect answer
    Inspiring
    June 3, 2008
    Found out the issue was the movie itself. Something is messed up with it, downloaded another sample FLV and it worked perfectly.
    andi_urra
    Known Participant
    May 27, 2008
    I have the same problem, so please, someone answer.
    May 15, 2008
    No text available
    May 15, 2008
    No text available