Configure the HTTP Proxy | Flash Media Server

Adobe Flash Media Server (FMS) 3.5 has an optional integrated HTTP server. It allows a single hosted solution for all interactive and streaming applications with progressive delivery when needed. If you have your own web server (either locally or remotely hosted), then you can opt not to install the integrated HTTP server. In these cases, you can configure FMS 3.5 to send HTTP requests to external web servers using HTTP proxying.

HTTP proxying is enabled by default and is configured to local port 8134. FMS normally listens for RTMPT connections on port 80--the default port for HTTP connections. If an RTMPT request is blocked (for example, by firewall rules) or FMS receives an unknown request via the tunneling port, FMS forwards the request across the configured proxy port. This TechNote describes how to manage HTTP proxying.

HTTP proxy configuration

HTTP proxying is configured in the HTTPTunnel section of the Adaptor.xml file (found in fms_root/conf/_defaultRoot). It requires that you enable HTTP tunneling.

  1. Enable HTTP tunneling: Set HTTPTunnel > Enable parameter to true, http1.1only, or keepalive. For example: <Enable>true</Enable>
  2. Set the HTTPTunnel > HttpProxy enable attribute to true, as follows: <HttpProxy enable="true" maxbuf="16384">
  3. Configure the proxy port in one of two ways: using the server or port number that receives the forwarded requests:
    1. Replace the HTTPPROXY.HOST variable with a valid IP address/host name and port number: <Host port="80">:8080</Host> Note: The port attribute corresponds to the port on which FMS is listening for the HTTP request.

    2. The HTTPPROXY.HOST variable is set in fms_root/conf/fms.ini. The default value is local port 8134: HTTPPROXY.HOST = :8134
      • To proxy to a remote server, provide the IP address or host name and port of the remote server. For example: HTTPPROXY.HOST =
  4. Save the configuration files and restart FMS.

To disable the HTTP Proxy, do one of the following:

  • In fms.ini set HTTPPROXY.HOST to no value. For example, HTTPPROXY.HOST =
  • In Adaptor.xml, either disable HTTPTunnel or HttpProxy by setting their respective enable value to false.

    Note: Disabling HTTPTunnel also disables HTTP tunnel access (RTMPT)