Hi,

But I do not open any connection before using rtmp://127.0.0.1/sample and it is 
not working, but rtmp://localhost/sample does (locally).
Also I can not connect to the sample by using my internal lan IP 
rtmp://192.168.1.xx/sample
It seems that I have to configure red5 to allow connections from “outside”?

Thx
radioon




-------- Original-Nachricht --------
Datum: Mon, 8 Jan 2007 18:56:29 -0800 (PST)
Von: oke _ <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: [Red5] no connection to Server via LAN

> Yes, I've seen the same behaviour on FMS. Once you connect to the
> website/FMS site using a particular URL string, you will not be able to 
> connect
> to services at that site through the same flash client unless you specify
> the 
> exact same URL string literal.
> (Yes, it is a pain, but perhaps it's done that way for security reasons.)
> 
> >
> >I came across a very interesting fact.
> >When using my Script locally: rtmp://localhost/sample than I can connect 
> >to my local red5 Server but when using an IP-Adress (127.0.0.1 or the one
> >using in my LAN) I can not establish the connection any more even when
> still 
> >working locally.
> >Ist'n: rtmp://localhost/sample the same than rtmp://127.0.0.1/sample ???
> >
> 
> [EMAIL PROTECTED] wrote: Hello again,
> 
> Thanks for the answer but I am afraid there is another problem.
> 
> This is my code, perhaps somebody can see an error. As mentioned before.
> The connection to my Server works if I am using the same machine, but when I
> try to connect from an other PC to my red5 Server (windows or fedora) I do
> not get a connection via my LAN.
> Because ofthis i do not think there is a problem in my code. Nobody had a
> similar problem?
> 
> Thanks.
> radioon
> 
> 
> ---------
> on (press){
>  var nc:NetConnection = new NetConnection();
>  var connected:Boolean = nc.connect(_root.host);
>  log("Verb. hergestellt (" + _root.host + "): " + connected.toString());
>  _root.ns = new NetStream(nc);
>  _root.ns.onStatus = function(info) {
>   trace("LOG"+info.code);
>   if (info.code == "NetStream.Buffer.Empty") {
>    log("Buffer leer");
>   }
>   if (info.code == "NetStream.Buffer.Full") {
>    log("Buffer befüllt.");
>   }
>  };
>  _root.videop.attachVideo(_root.ns);
>  _root.ns.setBufferTime(3);
> }
> ----------
> 
> 
> -------- Original-Nachricht --------
> Datum: Sat, 6 Jan 2007 16:02:32 -0800 (PST)
> Von: oke _ 
> An: [email protected]
> Betreff: Re: [Red5] no connection to Server via LAN
> 
> > You may want to check that in your .as code that all your URLs are the
> > same as the URL of your server (as seen from your client across the
> network).
> > For example, if your server is at 192.168.1.200, then all your rtmp URLs
> > in your .as files should be bound to that same IP address - and *not*
> > 'localhost'
> > 
> > Gellert Kovacs  wrote: Hello guys,
> > 
> > I've written a player which connects to my red5 server [running on
> windows
> > and olso tried on fedora] using the common net connection Object from
> > flash.
> > 
> > When running the file [the whole palyer] local everything is fine. But
> > when I try to connect to the Server within the LAN (no wirefall at all)
> I do
> > not get a connection. At that time firefox displays "connecting to
> > 192.168.1...." in the status-bar. 
> > 
> > Short: working localy, but not via LAN!
> > 
> > Do you have an idea?
> > Thanks a lot.
> > radioon
> > 
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> > 
> > 
> >  __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com 
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to