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

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
jonnyo
Posts: 1
Joined: 25 Oct 2011, 23:31

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

Post 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.
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

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

Post by jonthekiller »

Are you sure the server is launch in local with the port 5002?
Image
nocturne
Posts: 208
Joined: 23 Jun 2010, 21:31

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

Post 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?
weihnachtsmann777
Posts: 9
Joined: 04 Dec 2011, 14:36

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

Post 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
nocturne
Posts: 208
Joined: 23 Jun 2010, 21:31

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

Post 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.
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest