Port 1935 is write in RTMPHandler class... so you can change it... i think it is a bug...

On 11/14/06, やすえ けん <[EMAIL PROTECTED]> wrote:
Hi,

Do you know there is a great feature of modern operation systems
which called Copy&Paste ? :)
I'm joking, my name is ken, ken yasue.

I didn't catch very much from your message, but I guess
you said it is not recommended to change RTMP port.

But what I want to emphasize is it worked in Red5 v0.5 .
So it's makes me doubtful when it doesn't work in 0.6 rc1.

And I noticed, it looks like some security reason.
Because when I specify the port which is not working Red5
NetConnection.onStatus returns

Netconnection.Connect.Failed

But when I specify 8090, it returns

NetConnection.Connect.Rejected
NetConnection.Connect.Closed

So there is obviously something prevent this connection.


And there is interesting behavior when I run in 1935.

nc.connect('rtmp://127.0.0.1/test');
returns also "Rejected"

nc.connect('rtmp://localhost/test');
returns "Sucess"

So this result let me think there is some security configuration,
and it prevent this connection...

So what do you think?

I want to use 0.6rc1, because it's really better than 0.5...
Thanks to developers :)


Michael Klishin wrote:
> On Tue, 2006-11-14 at 00:59 +0100, やすえ けん wrote:
>
> I'm sorry, is there a way to call you somehow in English? I can't type
> ideograms :)
>
>> I tested in Windows XP ,Eclipse 3.2, JDK1.50.
>> And with "netstat -a" command it does work in 8090,
>> but when I attemp to connect in ActionScript, NetConnection.onStatus
>> returns this.
>>
>> NetConnection.Connect.Rejected
>> NetConnection.Connect.Closed
>>
>> The statement to connect is below.
>>
>> nc.connect('rtmp://localhost:8090/test');
>
> 8090 port you specified is for http connections. In AS code use RTMP
> port, that is, 1935
>
>> I don't know must I change another configration file, or it is bug in red5.
>
> It's misunderstanding of ports purposes.



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

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

Reply via email to