Page 1 of 1

[OK] Manialive don't want connect on new server....

Posted: 26 May 2012, 14:49
by Olymptor
I recently moved my servs to others
-First was on XP pro 64 bits --> works fine
-Second to an online server OVH (Windows Web server 2008 R2) --> works fine
-Actually on a personnal PC server (Windows Server 2008 R Entreprise) --> refuse connect on localhost

Files are same so no error config possible. Neither on folders names (special characters)

I use Manialive r254 ( i tried last r267, same problems)
i ever try to launch run.bet as admin but no way

Propably Firewall or rights acces... Someone have idea ? Thanks

Code: Select all

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

 [b]-> ErrorException with code 0
    fsockopen(): unable to connect to localhost:50006 (Une tentative de
      connexion a ÚchouÚ car le parti connectÚ nÆa pas rÚpondu convenablement
      au-delÓ dÆune certaine durÚe ou une connexion Útablie a ÚchouÚ car lÆh¶te
      de connexion nÆa pas rÚpondu.[/b]
)
  - in D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06] Olyserv6
      {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp on line 115
  - Stack: #0 [internal function]:
      ManiaLive\Application\ErrorHandling::createExceptionFromError(2,
      'fsockopen(): un...', 'D:\Olymptor\Tra...', 115, Array)
           #1 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp(115): fsockopen('localhost', '50006', 10060, 'Une tentative d...',
      '1')
           #2 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.p
      hp(101): ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->init('localhost',
      '50006')
           #3 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\DedicatedApi\Connection.php(78):
      ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->__construct('localhost',
      '50006')
           #4 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLib\Utils\Singleton.php(23):
      ManiaLive\DedicatedApi\Connection->__construct()
           #5 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\DedicatedApi\Connection.php(65):
      ManiaLib\Utils\Singleton::getInstance()
           #6 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\Application\AbstractApplication.
      php(106): ManiaLive\DedicatedApi\Connection::getInstance()
           #7 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLiveApplication\Application.php(38):
      ManiaLive\Application\AbstractApplication->init()
           #8 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed}
      0-60\ManiaLive1_r254\libraries\ManiaLive\Application\AbstractApplication.
      php(137): ManiaLiveApplication\Application->init()
           #9 D:\Olymptor\Trackmania\Serveurs\Olymptor [PORT x06]
      Olyserv6 {FullSpeed} 0-60\ManiaLive1_r254\bootstrapper.php(82):
      ManiaLive\Application\AbstractApplication->run()
           #10 {main}

Appuyez sur une touche pour continuer...

Re: Manialive don't want connect on new server....

Posted: 26 May 2012, 18:36
by The_Big_Boo
Are you sure your XML-RPC port is 50006 and not 5006?

Re: Manialive don't want connect on new server....

Posted: 26 May 2012, 19:13
by Olymptor
As i said i didn't touch any file but yes port is this one.

BUT I FOUND A SOLUTION :3

A strange one... in config.ini i replace 'localhost' by '127.0.0.1'
and it seems works :shock:

So if others guys have this problem on an Windows Server 2008 ;)

Re: Manialive don't want connect on new server....

Posted: 27 May 2012, 05:04
by Chris92
Olymptor wrote:As i said i didn't touch any file but yes port is this one.

BUT I FOUND A SOLUTION :3

A strange one... in config.ini i replace 'localhost' by '127.0.0.1'
and it seems works :shock:

So if others guys have this problem on an Windows Server 2008 ;)
Check if your hosts file (found in C:\Windows\System32\drivers\etc\) contains the following line

Code: Select all

127.0.0.1                 localhost
If you have this line:

Code: Select all

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
Remove the # before the 127.0.0.1

Restart servers, localhost as option should work