Dan Barak
2008-02-23 15:15:54 UTC
Hi everyone,
I'm trying to connect to my red5 server and get NetConnection.Connect.Failed.
When I try to connect to the localhost everything works fine.
This is the relevant actionscript code:
var server:String = "83.130.168.58";
nc.connect("rtmp://"+server+"/firstapp", "test");
If I change the server string to "localhost" everything works fine.
I changed my red5.properties file to look like this:
# HTTPhttp.host = 0.0.0.0http.port = 5080# RTMPrtmp.host = 0.0.0.0rtmp.port = 1935rtmp.event_threads_core=16rtmp.event_threads_max=32# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queuertmp.event_threads_queue=-1rtmp.event_threads_keepalive=60rtmp.send_buffer_size=271360rtmp.receive_buffer_size=65536rtmp.ping_interval=5000rtmp.max_inactivity=60000# RTMPTrtmpt.host = 0.0.0.0rtmpt.port = 8088rtmpt.ping_interval=5000rtmpt.max_inactivity=60000# Debug proxy (needs to be activated in red5-core.xml)proxy.source_host=0.0.0.0proxy.source_port=1936proxy.destination_host=83.130.168.58proxy.destination_port=1935
I opened ports 1935, 8088 and 8050 in the firewall (I also tried to shut down the firewall).
I also checked netstat and saw that ports 8088 and 1935 are being listened to.
If I look at the server log (running it as a batch file instead of a service) I can see that it gets no connection request.
I would really appreciate some help.
Thanks,
Dan
_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/
I'm trying to connect to my red5 server and get NetConnection.Connect.Failed.
When I try to connect to the localhost everything works fine.
This is the relevant actionscript code:
var server:String = "83.130.168.58";
nc.connect("rtmp://"+server+"/firstapp", "test");
If I change the server string to "localhost" everything works fine.
I changed my red5.properties file to look like this:
# HTTPhttp.host = 0.0.0.0http.port = 5080# RTMPrtmp.host = 0.0.0.0rtmp.port = 1935rtmp.event_threads_core=16rtmp.event_threads_max=32# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queuertmp.event_threads_queue=-1rtmp.event_threads_keepalive=60rtmp.send_buffer_size=271360rtmp.receive_buffer_size=65536rtmp.ping_interval=5000rtmp.max_inactivity=60000# RTMPTrtmpt.host = 0.0.0.0rtmpt.port = 8088rtmpt.ping_interval=5000rtmpt.max_inactivity=60000# Debug proxy (needs to be activated in red5-core.xml)proxy.source_host=0.0.0.0proxy.source_port=1936proxy.destination_host=83.130.168.58proxy.destination_port=1935
I opened ports 1935, 8088 and 8050 in the firewall (I also tried to shut down the firewall).
I also checked netstat and saw that ports 8088 and 1935 are being listened to.
If I look at the server log (running it as a batch file instead of a service) I can see that it gets no connection request.
I would really appreciate some help.
Thanks,
Dan
_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/