Page 1 of 1

Wont Start (fsockopen(): unable to connect )Error

Posted: 25 Oct 2011, 23:48
by jonnyo
i get this error on load.

i have all opened all ports and turned firerwall off,
change from 5000 - 5005
ive changed 'local host' to '127.0.0.1'
as i have seen for other errors of this nature,

but i stll cannot get this to run.

Code: Select all

The system cannot find the file specified.

  ##################################     ###################################
  ##################################     ###################################
                                                                         ###
  ################  ################     ###  ############  ###########  ###
  ################  ################     ###  ############  ###########  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
               ###  ###                  ###  ###      ###  ###     ###  ###
ManiaLive
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.3.8
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.21.7 (OpenSSL/0.9.8r) (with Ope
SSL/0.9.8r)
SQLite                -> optional  -> [ Yes ]
-----------------------------------------------------

 -> ErrorException with code 0
    fsockopen(): unable to connect to 127.0.0.1:5002 (No connection could
      be made because the target machine actively refused it.
)
  - in
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\DedicatedApi\Xmlrpc\Client.php on line 113
  - Stack: #0 [internal function]:
      ManiaLive\Application\ErrorHandling::createExceptionFromError(2,
      'fsockopen(): un...', 'C:\Users\Jonnyo...', 113, Array)
           #1
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\DedicatedApi\Xmlrpc\Client.php(113): fsockopen('127.0.0.1', '5002',
      10061, 'No connection c...', 1)
           #2
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\DedicatedApi\Xmlrpc\Client.php(99):
      ManiaLive\DedicatedApi\Xmlrpc\Client->init('127.0.0.1', '5002')
           #3
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\DedicatedApi\Connection.php(78):
      ManiaLive\DedicatedApi\Xmlrpc\Client->__construct('127.0.0.1', '5002')
           #4
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      b\Utils\Singleton.php(23):
      ManiaLive\DedicatedApi\Connection->__construct()
           #5
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\DedicatedApi\Connection.php(65):
      ManiaLib\Utils\Singleton::getInstance()
           #6
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\Application\AbstractApplication.php(105):
      ManiaLive\DedicatedApi\Connection::getInstance()
           #7
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      veApplication\Application.php(36):
      ManiaLive\Application\AbstractApplication->init()
           #8
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\libraries\ManiaLi
      ve\Application\AbstractApplication.php(141):
      ManiaLiveApplication\Application->init()
           #9
      C:\Users\Jonnyo\Desktop\ManiaLive2_r273\ManiaLive2_r273\bootstrapper.php(
      80): ManiaLive\Application\AbstractApplication->run()
           #10 {main}

Press any key to continue . . .
any help would be appreciated.

Re: Wont Start (fsockopen(): unable to connect )Error

Posted: 26 Oct 2011, 10:05
by jonthekiller
Are you sure the server is launch in local with the port 5002?

Re: Wont Start (fsockopen(): unable to connect )Error

Posted: 27 Oct 2011, 06:26
by nocturne
First, windows or *nix?

99% of these problems tend to be user-error.. Something is set incorrectly somewhere.. How bout posting your dedicated server log?

Re: Wont Start (fsockopen(): unable to connect )Error

Posted: 04 Dec 2011, 18:27
by weihnachtsmann777
i had the same problem

firstly u have to start your dedicated tmserver
libraries\ManiaLive\DedicatedApi\Config.php << i fill my data in
then it works

Re: Wont Start (fsockopen(): unable to connect )Error

Posted: 05 Dec 2011, 21:56
by nocturne
You shouldn't touch the default config loaders... they just provide the defaults if you fail to set up a config in the /config directory..

And please don't dig up dead threads.. It's been over a month since the last response, so we can assume the OP either figured it out or gave up.