channel port does not work

Avatar

Avatar
Level 1
Souvik_s_screen
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
Souvik_s_screen
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
View profile
Souvik_s_screen
Level 1

24-07-2009

I’m stuck to a point where port 2035 is working in the local server, but it does not work for another server. The code is as follows:

private var host:String = "xxx.xxx.xxx.xxx”;

private var port:int = 2035;

                          

var cs:ChannelSet = new ChannelSet();

var rtmpChannel:Channel = new RTMPChannel("my-rtmp", "rtmp://" + host + ":" + port);

cs.addChannel(rtmpChannel);

the above code works where host in the above code is 192.168.1.102 but doesn’t work for 63.133.158.174

I need an urgent solution. Please help.