The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WAN connections
Author Message
richm
Journeyman
*

Posts: 58
Likes Given: 4
Likes Received: 4 in 3 posts
Joined: Aug 2014
Reputation: 0



Post: #1
WAN connections
Hi Guys

I am having issues with external connections to the server.

LAN connections connect fine, but WAN connections get the following error after the server selection screen:

"The client could not attach to the game server. It must have been taken down, please wait a few minutes and try again.".

On the console, this is what I see:

00:43:5:Client connected [Total:1] ('<my external IP>' 1/1)
00:43:5:Login 'richm'
00:43:5:Client disconnected [Total:0] ('<my external IP>', acct='richm')

my sphere.ini [SERVER] settings are commented out, and in the triggers script I have the following under the server_start trigger:

SERV.SERVIP=myhost.no-ip.org
I've also tried:
SERV.SERVIP=<my external IP> but it makes no difference.

I am using the standard 2593 port, which has been forwarded to my server on the router. Canyouseeme.org reports success when checked.

Windows Firewall is disabled. I tried to enable it and then allow sphereserver as an exception but it made no difference.

When the server starts, it reports this:
Monitoring IP 192.168.1.81:2593 (TCP) - Main server

This is obviously an internal LAN address.

I added a log command into the triggers file for when a client tries to connect, and this is the result:

00:39:(sphere_serv_triggers.scp,55)serv ip is <my external IP>

I'm out of ideas.... google and forum searches and thrown up nothing... This is the same setup I used about 2/3 years ago and it worked fine back then.

If I put in http://myhost.no-ip.org it redirects to my webserver, so I know the port forwarding is working. If I put in http://myhost.no-ip.org:2593 it errors, with an "empty response".

Any help is appreciated.

edit: not sure it is relevant but I am using client 7.0.20.0
(This post was last modified: 03-27-2017 09:54 AM by richm.)
03-27-2017 09:53 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
WAN connections - richm - 03-27-2017 09:53 AM
RE: WAN connections - Coruja - 03-27-2017, 11:15 AM
RE: WAN connections - richm - 03-28-2017, 04:47 AM
RE: WAN connections - Coruja - 03-28-2017, 04:56 AM
RE: WAN connections - richm - 03-28-2017, 05:27 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)