'Cannot open socket' [solved]

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

Moderators: Jocy, Wabbitface, steeffeen, NADEO

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

'Cannot open socket' [solved]

Post by chat567 »

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: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: 'Cannot open socket'

Post by TMarc »

None of the ports is matching :shock:

And you certainly need to open them in the firewalls.
chat567
Posts: 4
Joined: 07 Jun 2018, 22:07

Re: 'Cannot open socket'

Post by chat567 »

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 2 guests