Skip to main content
Participant
June 24, 2009
Question

NetConnection.Connect.Rejected

  • June 24, 2009
  • 1 reply
  • 1957 views

Hi,

installed Flash Media Development Server on a Linux/CentOS box and chose port 2222 ( instead of 1111)

Now, When I try :  http://serverIP:2222/  , remotely from another desktop computer, I get the following error.

<level>error</level>
<code>NetConnection.Connect.Rejected</code>
<description>Admin user requires valid username and password.</description>
<timestamp>Tue 23 Jun 2009 09:06:11 PM CDT</timestamp>
</result>

Is  http://serverIP:2222/   not the administration web gui console in my case?  or what url should i browse, that would provide an web interface, using which i can configure/manage the Flash Media Development Server , over web.

** No issue with firewall, i have added the port 2222 for both TCP-IN/OUT **

Please advise.

Thanks

    This topic has been closed for replies.

    1 reply

    June 24, 2009

    The problem is that you're trying to connect to the admin service via the browser, instead of via the FMS console.

    While the admin service does have an HTTP API, the console uses an RTMP connection. What you want to do is copy the following files from the FMS/tools directory to either a local location or a web accessible location on the server:

    fms_adminConsole.htm

    fms_adminConsole.swf

    If you installed Apache with FMS, you'll also find these in your FMS webroot.

    I've never tried using a port other than 1111 for the admin service, so I don't know if the FMS console is hardcoded to use port 1111 or not.

    LinuxGosAuthor
    Participant
    June 25, 2009

    Hi Jay,

    Thank you for the information.   I copied the two files to a web accessible location under a virtual hosts home dir. Now i am able to browse the FMS console.

    Howerver,  i am still not able to login , even as i used the same username and pass, that is in fms.ini

    What do you put in Servername and address?

    I tried the actual hostname,  with server address both as the server IP and localhost once , but i am still stuck here.

    I also tried with serverIP:2222   /  localhost:2222  ( results the same, as 2222 is the admin service port)

    please advise.

    Please check the attached image.

    June 25, 2009

    Can you log in when running the console locally on the server? If not, try bindng the admin service to port 1111 and see if you can connect without defining the port in the server address