SphereCommunity
Can't connect to my server ... - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Can't connect to my server ... (/Thread-Can-t-connect-to-my-server)



Can't connect to my server ... - Alias - 05-25-2012 01:21 AM

Hello i have problem with connection.
I have 2 servers in 1 server player's can connect but in 2 server player's can't connect both are with different scp, with that i mean when both servers aren't running at same time.
I search in forum found this topic http://forum.spherecommunity.net/showthread.php?tid=1168 did all what Valios sad but still could connect ...
I need to use server where player's can't connect becouse in server where players can connect is some problem when can't see a dialog ... Confused


RE: Can't connect to my server ... - Valios - 05-25-2012 02:29 AM

You have to set different ports for both servers in their Sphere.ini and then append to your Login.cfg the new line for the second one.

Example:
Quote:LoginServer=x.x.x.x,2593
LoginServer=x.x.x.x,2594

Sphere.ini - Server #1:
Quote:[SPHERE]
// Name of your Sphere shard
ServName=ShardOne
// The IP of your server, this will be 127.0.0.1 almost always
ServIP=127.0.0.1
// The port of your server, this is 2593 by default
ServPort=2593

Sphere.ini - Server #2:
Quote:[SPHERE]
// Name of your Sphere shard
ServName=ShardTwo
// The IP of your server, this will be 127.0.0.1 almost always
ServIP=127.0.0.1
// The port of your server, this is 2593 by default
ServPort=2594

And I think you have to list both shards under the section [SERVERS] also at the end of the file for each sphere.ini


RE: Can't connect to my server ... - Alias - 05-25-2012 03:35 AM

Oh tyvm ! Smile