Skip to main content
Known Participant
December 8, 2011
Question

Apache and FMIS 4.5 port configuration in fms.ini

  • December 8, 2011
  • 1 reply
  • 1456 views

I read in the documentation that Apache should use port 80 and remove the proxy port of 8134 for http live/dynamic streaming to work correctly.

In the fms.ini file should I change the adapter.xml parameters to the following? So FMS listens on port 1935 and Apache listens on port 80?

# IP address and port(s) Flash Media Server should listen on

# For example:

#    ADAPTOR.HOSTPORT = :1935,80

#

# ADAPTOR.HOSTPORT = :1935,80

ADAPTOR.HOSTPORT = :1935

# IP (address and) port that Flash Media Server should proxy

# unknown HTTP requests to. Leave empty to disable proxying.

# With no address, specifies a localhost port.

# For example:

#    HTTPPROXY.HOST = webfarm.example.com:80

#

#HTTPPROXY.HOST = :8134

HTTPPROXY.HOST =

Thanks,

Dave

    This topic has been closed for replies.

    1 reply

    Inspiring
    December 8, 2011

    For best performance you should not proxy large amounts of traffic through FMS. The first change you made stops FMS from listening on port 80. The second change stops FMS from proxying HTTP content to the local web server. You now need to change the port your Apache instance is listening on. By default the Apache shipped with FMS listens on port 8134 and not the usual port 80.

    At the very top of your http.conf (<fms install dir>/Apache2.2/conf/httpd.conf) you will see this line:

    Listen 8134

    Simply change this to say:

    Listen 80

    Restart your Apache server to enable the change.