Jump to content

Error: ConnectFailure (Connection refused) on new remote server


Bo0m!

Recommended Posts

I recently installed another remote server and I've run into a very annoying issue. Whenever my master tries to communicate with it I'm receiving a Error: ConnectFailure (Connection refused)

 

From the Master Monitor Console:

System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
 at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0
 at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in <filename unknown>:0
 --- End of inner exception stack trace ---
 at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
 at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0
 at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String method_name, System.Object[] parameters) [0x00000] in <filename unknown>:0

 

My new box is set up exactly how my previous working remote servers were set up, so I'm not sure why this is happening.

 

I have tried:

  • Updating the remote server (I have verified it is running 2.0.84 the same as every other server)
  • Disabling iptables and verifying no firewalls were blocking incoming connections
  • Deleting and reinstalling TCAdmin
  • Turning the box off and on again :p

 

There is one thing that I noticed, however.

 

On the other remote servers, when starting the monitor up I see:

TCAdmin - The Game Hosting Control Panel
Software Version         : 2.0.84.0
Mono Version             : 2.11.4 Linux 64 bits
Monitor Ports            : Secure: 8891 Standard: 8890
uPnP Port Forwarding     : Disabled
Current User             : root
Database Engine          : MySQL
Database Cache           : Enabled

Starting the Monitor Web Service...
The Monitor Web Service has been started.
Starting the Task Scheduler...
The Task Scheduler has been started.
Starting the Game Monitor Service...
The Game Monitor Service has been started.
Starting the FTP Service...
The FTP Service (v1) has been started on 0.0.0.0:8821.

The Remote Monitor has been started on GOODSERVER

 

 

However when starting the monitor up on this server I see:

TCAdmin - The Game Hosting Control Panel
Software Version         : 2.0.84.0
Mono Version             : 2.11.4 Linux 64 bits
Monitor Ports            : Secure: 8891 Standard: 8890
uPnP Port Forwarding     : Disabled
Current User             : root
Database Engine          : MySQL
Database Cache           : Enabled

Starting the Task Scheduler...
The Task Scheduler has been started.
Starting the Game Monitor Service...
The Game Monitor Service has been started.
Starting the FTP Service...
The FTP Service (v1) has been started on 0.0.0.0:8821.

The Remote Monitor has been started on BADSERVER

 

I notice a lack of

Starting the Monitor Web Service...
The Monitor Web Service has been started.

 

I'm suspecting that may be a big part of the problem. Is there any reason why the Web Service would fail to start? Is there anything new I can try to resolve this?

 

Thanks!

Link to comment
Share on other sites

For anyone else that may possibly run into this strange issue, it was resolved by the following SQL command on the database (REMOTEID being replaced by the server's ID number):

INSERT INTO tc_server_enabled_components (module_id, component_id, server_id) VALUES ('07405876-e8c2-4b24-a774-4ef57f596384', 1, REMOTEID);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 21 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use