jijopaulose / ezstats

Automatically exported from code.google.com/p/ezstats
0 stars 0 forks source link

Unable to connect to server after install #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please describe the bug:
Trying to add a server after install. i add all required details. I click the 
verify button for server ID and comes back ok then for the port it comes back 
error and at the top it says 
The connection to the server could not be established
Warning: socket_connect() [function.socket-connect]: unable to connect [111]: 
Connection refused in /home/strike/public_html/bf3/server/classes/rcon.php on 
line 477

Your version of ezStats:
ezStats2 Serverviewer v0.62

The URL to your website:
http://www.xg-hq.com/bf3/stats

Original issue reported on code.google.com by strike4c...@gmail.com on 10 Jan 2013 at 5:05

GoogleCodeExporter commented 9 years ago
Sorry the link above should be http://www.xg-hq.com/bf3/server/index.php

Original comment by strike4c...@gmail.com on 10 Jan 2013 at 5:09

GoogleCodeExporter commented 9 years ago
Hi strike!

Apparently, your server does not support sockets, or any server setting is 
blocking it. But those sockets are neccessary for ezStats to contact your 
gameserver.

Please contact the support of your webserver. Please write them the message 
below, and hopefully they change the settings of your server then.

Message:

I have executed the following PHP-Code on my server, and on a server of another 
provider:

    socket_connect(
        socket_create(AF_INET, SOCK_STREAM, SOL_TCP),
        "173.199.75.134",
        25200 
    );

While on the foreign server, the connection is established, on my server, this 
error appears:

    Warning: socket_connect() [function.socket-connect]: unable to connect [111]: Connection refused in  ...

Please change the settings of my server, so I can use sockets. 

Original comment by ezzem...@googlemail.com on 10 Jan 2013 at 5:59

GoogleCodeExporter commented 9 years ago

Original comment by ezzem...@googlemail.com on 26 Feb 2013 at 8:39