Skip to main content
February 5, 2009
Question

How do i get FMS to listen on port 80?

  • February 5, 2009
  • 2 replies
  • 2078 views
Hello,

I'm working on an app that is used by a client of ours that is in state government. Because of their security settings, they only have port 80 open to use for connections to our application. We have a dedicated server running FMIS 3.0, and I've configured the fms.ini file to contain the line

ADAPTOR.HOSTPORT = :80

instead of the default of 1935. I've restarted FMS, restarted the server, changed the connection string in my Flash client to be of the form rtmp://<server_name>:80/<app_name> but I just can't get the app to connect. It works fine with 1935 in our dev and test environments, but for our live server we really need to be able to use port 80.

If anyone can tell me how to make this work I'd really appreciate it. Thanks in advance for any help.

Regards,
Dave
    This topic has been closed for replies.

    2 replies

    February 6, 2009
    @SolitonMan - Glad to hear the problem is sorted out

    @sladurana - It might have to do with the firewall at the office. Many firewalls only control ports, but some robust corporate firewalls also inspect the actual data packets. RTMP packets look very different than HTTP packets, so the firewall at the office might be rejecting them. Try using RTMPT and see if that helps any.

    @bobakb - You can configure FMS to bind to a specific IP. In FMS.ini, change:

    ADAPTOR.HOSTPORT = :1935

    to

    ADAPTOR.HOSTPORT = XXX.XXX.XXX.XXX:80,1935

    Replace the X's with the IP fms will bind to. Then restart the FMS service, and assuming nothing else is bound to port 80 on the specified IP, you should be all set.


    February 5, 2009
    Do you have an HTTP server bound to the same IP address? If so FMS can't bind to port 80. If you have an HTTP server on the same machine, give FMS it's own IP address, and make sure the HTTP server isn't binding to that IP.
    Participant
    February 6, 2009
    quote:

    Originally posted by: JayCharles
    Do you have an HTTP server bound to the same IP address? If so FMS can't bind to port 80. If you have an HTTP server on the same machine, give FMS it's own IP address, and make sure the HTTP server isn't binding to that IP.



    Jay, I am having a similar issue. I am running a free online dating site and when I am on my machine at home, I am accessing the flash apps with no problem, but when in the office, I can not. I wonder if it is rom a firewall or because there is no port 80 access?!