Skip to main content
Known Participant
September 1, 2011
Question

Install fms 4 in Windows 7 and access from a webserver in different domain

  • September 1, 2011
  • 1 reply
  • 1622 views

Hi,

I have installed fms 4 in windows 7 in my computer, but i cant get it work with a flex application that i have in a server.

I added the port in my router's settings

2fmsall(udp/tcp)1935065535xxx.xxx.xxx.xxx1935065535
3fmsall(udp/tcp)19351935xxx.xxx.xxx.xxx19351935


hope someone can help me.

thanks,

Javier

    This topic has been closed for replies.

    1 reply

    September 1, 2011

    Did you bind FMS to the LAN ip in fms.ini?

    javii1986Author
    Known Participant
    September 1, 2011

    thanks for the response Jay,

    i havent done that, what settings is needed to change?

    this is my fms.ini

    ###########################################################################
    # fms.ini contains substitution variables for Flash Media Server          #
    # configuration files. Lines beginning with '#' are considered comments.  #
    # A substitution variable is in the form <name>=<value>. Everything up to #
    # the first '=' is considered the name of the substitution variable, and  #
    # everything after the first '=' is considered the substitution value. If #
    # you want a substitution variable to have leading or trailing spaces,    #
    # enclose the value around double quotes. For example, foo=" bar "        #
    ###########################################################################

    ###############################################################
    # This section contains configurable parameters in Server.xml #
    ###############################################################

    # Username for server admin
    # For example:
    #    SERVER.ADMIN_USERNAME = foo
    #
    SERVER.ADMIN_USERNAME = foo

    # Password for server admin
    # For example:
    #    SERVER.ADMIN_PASSWORD = bar
    #
    SERVER.ADMIN_PASSWORD = bar

    # IP address and port Flash Media Admin Server should listen on
    # For example:
    #    SERVER.ADMINSERVER_HOSTPORT = :1111
    #
    SERVER.ADMINSERVER_HOSTPORT = :1111

    # User id in which to run the process (Linux Only)
    # For example:
    #    SERVER.PROCESS_UID = 500
    #
    SERVER.PROCESS_UID =

    # Group id in which to run the process (Linux Only)
    # For example:
    #    SERVER.PROCESS_GID = 500
    #
    SERVER.PROCESS_GID =

    # License key for Flash Media Server
    # For example:
    #    SERVER.LICENSEINFO = FMD200-XXXXX-XXXXX-XXXXX
    #
    SERVER.LICENSEINFO =

    # LIVE_DIR denotes the full path of sample "Live" application's
    # folder for storing any live stream recorded by server. 
    # For example:
    #    LIVE_DIR = <FMS_Installation_Dir>\applications\live
    #
    LIVE_DIR = C:\Program Files\Adobe\Flash Media Server 4\applications\live

    # VOD_COMMON_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand and Progressive Download .flv/.mp3 files.
    # File stored in this folder can be streamed and are also PD-able.
    # Note : If you are using the default installation of Apache as a webserver,
    # and if you modify VOD_COMMON_DIR, please change the document root
    # accordingly in httpd.conf.
    # For example:
    #    VOD_COMMON_DIR = <FMS_Installation_Dir>\webroot\vod
    #
    VOD_COMMON_DIR = C:\Program Files\Adobe\Flash Media Server 4\webroot\vod

    # VOD_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand only .flv/.mp3 files. Files stored in
    # this folder are not PD-able
    # For example:
    #    VOD_DIR = <FMS_Installation_Dir>\applications\vod\media
    #
    VOD_DIR = C:\Program Files\Adobe\Flash Media Server 4\applications\vod\media

    # The maximum size of the FLV cache, in megabytes.
    # The default is 500MB.
    #
    SERVER.FLVCACHE_MAXSIZE=500

    # Whether to start and stop the included HTTP server along
    # with FMS.
    #
    SERVER.HTTPD_ENABLED = false

    ################################################################
    # This section contains configurable parameters in Adaptor.xml #
    ################################################################

    # IP address and port(s) Flash Media Server should listen on
    # For example:
    #    ADAPTOR.HOSTPORT = :1935,80
    #
    ADAPTOR.HOSTPORT = :1935,8000

    # 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

    ##############################################################
    # This section contains configurable parameters in Vhost.xml #
    ##############################################################

    # Application directory for the virtual host
    # For example:
    #    VHOST.APPSDIR = C:\myapps
    #
    VHOST.APPSDIR = C:\Program Files\Adobe\Flash Media Server 4\applications

    ####################################################################
    # This section contains configurable parameters in Application.xml #
    ####################################################################

    # List of semi-colon delimited paths in which to search for script to load
    # For example:
    #    APP.JS_SCRIPTLIBPATH = C:\scripts;C:\Program Files\Foo\scripts
    #
    APP.JS_SCRIPTLIBPATH = C:\Program Files\Adobe\Flash Media Server 4\scriptlib

    ###############################################################
    # This section contains configurable parameters in Logger.xml #
    ###############################################################

    LOGGER.LOGDIR =

    ####################################################################
    # This section contains configurable parameters in Users.xml #
    ####################################################################

    # Enable or disable using HTTP requests to execute admin commands.   
    # Set to "true" to enable, otherwise it will be disabled.  The          
    # actual commands permitted for server admin and virtual host admin  
    # users can be set in Users.xml.                                      
               
    USERS.HTTPCOMMAND_ALLOW = true

    thanks,

    Javier

    September 1, 2011

    It's the ADAPTOR_HOSTPORT value, but since you don't have an IP defined, FMS should be binding to all IP's.

    I guess i should have asked the obvious first... is there a firewall on the Windows 7 machine? If so, you'll need to open port 1935