Skip to main content
Participant
April 11, 2007
Question

Specifying the FMS port number for samples and tutorials

  • April 11, 2007
  • 1 reply
  • 331 views
Hi All,

I've just installed Flash Media Server. Due to firewall issues I have set-up FMS to listen on port 119, rather than the default port 1935. I did this by stopping the two FMS services, editing the fms.ini file, and then restarting the FMS services. However I cannot see how to reconfigure the sample and tutorial pages to use the new port number. There's no .ini file or xml settings file in the sample/tutorial directories that I can see.

I've tried the same thing on an additional dev machine on our corporate network. The samples work fine on port 1935, but the clients fail to connect when I move the FMS to port 119.

How are the samples and tutorials provided with FMS told what port the server is listening on? What should I change so that they use the new port?

Thanks,

Tim.
    This topic has been closed for replies.

    1 reply

    April 11, 2007
    Dumbledad,
    You will need to specify the new port number after your address in the connection string. The NetConection object defaults to 1935, 443, then 80 in it's attempt to connect to FMS.

    For example

    __nc = new NetConnection();
    __nc.connect("rtmp://192.168.0.1:119")

    will connect to FMS on 192.168.0.1 port 119

    Regards,
    Shack