Skip to main content
April 7, 2011
Question

How Do I Forward Port 80 to FMS and IIS?

  • April 7, 2011
  • 1 reply
  • 1115 views

I can't be the first person with this issue.

FMS and IIS are set up with separate IPs on the same server.  Both are configured for port 80 because others, including 1935, are often inaccessible from certain environments.

Problem is, the server's behind a router.  Port 80 can only be forwarded to either the IP of FMS or that of IIS.

Even if the two were on separate machines, I'd still have to deal with this.  What do I do?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    April 8, 2011

    Configure HTTPPROXY.HOST configuration in fms.ini as below

    HTTPPROXY.HOST = <IIS Web Server IP>:80

    Restart the server and configure forwarding to FMS IP. In this way all your HTTP traffic would be proxied to IIS via FMS.

    April 8, 2011

    Thanks for the suggestion.  IIS serves up pages fine with FMS as the proxy, but WCF services I also have hosted on IIS are failing now.

    Anyway on a different note, I have the following in fms.ini:

    ADAPTOR.HOSTPORT = <internal IP of FMS>:80

    My router forwards port 80 to the FMS IP above.  Video doesn't work under this configuration.  However, once I forward port 1935 to the FMS IP, video works again.

    Do you see any reason for this?  Is there a setting somewhere that I've missed?  Can there be anything in the .fla or .swf file that overrides my fms.ini?  My aim is to force FMS to use port 80 and nothing else.

    Participating Frequently
    April 11, 2011

    You can use port number in your URI i.e. rtmp://<serverip>:80/vod - this would make rtmp connect on port 80