[Resolved] Connecting Multiple Gameservers to Loginserver

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
adenax
Posts: 2
Joined: Sun Apr 26, 2009 5:06 pm
Location: South Carolina, USA

[Resolved] Connecting Multiple Gameservers to Loginserver

Post by adenax »

version=2875
builddate=20090331_0500

I am trying to Connect Two Gameservers to One Loginserver,

For example, I have 1 Server that Has a High Rate configuration and one server that has a Low Rate configuration, Each server has its own Database and I can connect to each individually but when I attempt to open both servers at the same time, I recieve the following error message in one of the server boxes:

"Connectiong to login on 127.0.0.1:9014
FATAL: Failed to open server socket. Reason: Address already in use: bind

server terminated

Press any key to continue . . ."

I need help setting up the login server to handle two Game servers.

I googled this problem, along with searching the L2J site for a solution and couldn't find any solution. I would appreciate any help that could be provided.

If you need any addtional information on my problem please let me know, I will be happy to provide it for you.
Thanks. ^.^
Last edited by adenax on Mon Apr 27, 2009 10:10 pm, edited 1 time in total.
TheSaint
Posts: 19
Joined: Tue Apr 21, 2009 7:23 pm

Re: Connecting Multiple Gameservers to Loginserver

Post by TheSaint »

adenax wrote:version=2875
builddate=20090331_0500

I am trying to Connect Two Gameservers to One Loginserver,

For example, I have 1 Server that Has a High Rate configuration and one server that has a Low Rate configuration, Each server has its own Database and I can connect to each individually but when I attempt to open both servers at the same time, I recieve the following error message in one of the server boxes:

"Connectiong to login on 127.0.0.1:9014
FATAL: Failed to open server socket. Reason: Address already in use: bind

server terminated

Press any key to continue . . ."

You cannot bind more than one service to a single port. Let's assume that the LS is at 192.168.0.5 and GS1 at 192.168.0.6. During the start of LS, you are binding the listener on 192.168.0.5 to tcp/9014. When you start the GS1 you are binding the port tcp/2106 on 192.168.0.6 for players and connects 192.168.0.6 to 192.168.0.5 on 9014. If you start another instance of GS on the same IP you will receive the above error because tcp/2106 is already used.
The workaround is to start the GS2 on a separate IP or bind the GS2 to a different tcp port but I don't know if client can handle that. Maybe someone did such tests and can share the results.

A.


I need help setting up the login server to handle two Game servers.

I googled this problem, along with searching the L2J site for a solution and couldn't find any solution. I would appreciate any help that could be provided.

If you need any addtional information on my problem please let me know, I will be happy to provide it for you.
Thanks. ^.^
Elektra
Posts: 205
Joined: Thu Sep 01, 2005 2:32 am

Re: Connecting Multiple Gameservers to Loginserver

Post by Elektra »

check the server port configs

default is 7777

have to assign a different port to the second server so maybe something like 7778
crystal2
Posts: 14
Joined: Sun Mar 01, 2009 6:08 am
Location: Israel

Re: Connecting Multiple Gameservers to Loginserver

Post by crystal2 »

you have modem+router?
User avatar
adenax
Posts: 2
Joined: Sun Apr 26, 2009 5:06 pm
Location: South Carolina, USA

Re: Connecting Multiple Gameservers to Loginserver

Post by adenax »

Elektra's suggestion appears to work just fine, Changing the Port from the Default of 7777 to 7778 on the second server, allows both to connect to the same login server. Accessing both servers is now possible through LAN and from an External IP.

Thank you.
picar
Posts: 49
Joined: Thu Jan 03, 2008 9:58 pm

Re: [Resolved] Connecting Multiple Gameservers to Loginserver

Post by picar »

hi to all
i did all the steps and both server are working but when the client connects and he logins on the server list only the first server witch is lestening on port 7777 is blue the second one is shown as red and the ping is 9999
any idea ????
thank you
Post Reply