'Cannot open socket' [solved]

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: kremsy, Jocy, Wabbitface, steeffeen, NADEO

Post Reply
chat567
Posts: 4
Joined: 07 Jun 2018, 22:07

'Cannot open socket' [solved]

Post by chat567 » 08 Jun 2018, 18:17

Hey!
I installed trackmania stadium on a vps (debian 8). Everything works fine but I would like to install ManiaControl.
The problem is that I have the following error when I run the ManiControl[.]sh

Code: Select all

[08-Jun-2018 16:56:41 UTC] Starting ManiaControl...
[08-Jun-2018 16:56:41 UTC] Checking for minimum required PHP-Version 5.4 ... 5.6.33-0+deb8u1 OK!
[08-Jun-2018 16:56:41 UTC] Checking for installed MySQLi ... FOUND!
[08-Jun-2018 16:56:41 UTC] Checking for installed cURL ... FOUND!
[08-Jun-2018 16:56:41 UTC] Checking for installed PHP ZIP ... FOUND!
[08-Jun-2018 16:56:41 UTC] Checking for installed Zlib ... FOUND!
[08-Jun-2018 16:56:41 UTC] Checking for installed mbstring ... FOUND!
[08-Jun-2018 16:56:41 UTC] Loading ManiaControl v0.226 ...
[08-Jun-2018 16:56:41 UTC] Starting ManiaControl v0.226!
[08-Jun-2018 16:56:41 UTC] Connecting to Server at 127.0.0.1:2350...
[08-Jun-2018 16:56:41 UTC] [ERROR] Couldn't connect to the server: 'Cannot open socket'
[08-Jun-2018 16:56:41 UTC] Quitting ManiaControl!
Here is what my dedicated_cfg.txt looks like
<force_ip_address></force_ip_address>
<server_port>2352</server_port>
<server_p2p_port>3450</server_p2p_port>
<client_port>0</client_port>
<bind_ip_address></bind_ip_address>
<use_nat_upnp></use_nat_upnp>

<xmlrpc_port>11136</xmlrpc_port>
<xmlrpc_allowremote>False</xmlrpc_allowremote>
And my server.xml (maniacontrol)

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<maniacontrol>

        <!-- Configure Your ManiaPlanet Server -->
        <server>

                <!-- Server Connection Details -->
                <host>127.0.0.1</host>
                <port>11136</port>

                <!-- XmlRpc Login Details -->
                <user>SuperAdmin</user>
                <pass>123</pass>

        </server>

        <!-- Configure the MySQL Database used by ManiaControl -->
        <database>

                <!-- MySQL Server -->
                <host>localhost</host>
                <port>3306</port>

                <!-- MySQL User -->
                <user>xxx</user>
                <pass>xxx</pass>

                <!-- Database Name -->
                <name>maniacontrol</name>

        </database>

        <!-- Configure Server Master-Administrators -->
        <masteradmins>
                <login>xxx</login>
        </masteradmins>

        <!-- You can add Admins and Moderators ingame -->

</maniacontrol>
I hope you can help me !
Thank you in advance !

User avatar
TMarc
Posts: 14424
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: 'Cannot open socket'

Post by TMarc » 08 Jun 2018, 22:00

None of the ports is matching :shock:

And you certainly need to open them in the firewalls.
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

System specs: Intel i7-970 12GB RAM, nVidia GTX 970, Creative SB X-Fi, 2xSSD

kremsy
Posts: 1720
Joined: 21 Jul 2011, 09:51

Re: 'Cannot open socket'

Post by kremsy » 09 Jun 2018, 09:15

TMarc wrote:
08 Jun 2018, 22:00
None of the ports is matching :shock:

And you certainly need to open them in the firewalls.
Don't think its a firewall issue, ports arent matching at least not between the log and the configs. In the configs it seems to be fine, but you may should check the server log which XMLRPC port is really used.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

chat567
Posts: 4
Joined: 07 Jun 2018, 22:07

Re: 'Cannot open socket'

Post by chat567 » 23 Jun 2018, 01:41

The ports were the same, I still changed them and it worked! thank you very much !

Post Reply

Return to “ManiaControl”

Who is online

Users browsing this forum: No registered users and 1 guest