Page 1 of 1

[Resolved] Connecting Multiple Gameservers to Loginserver

Posted: Sun Apr 26, 2009 6:08 pm
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. ^.^

Re: Connecting Multiple Gameservers to Loginserver

Posted: Mon Apr 27, 2009 9:26 am
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. ^.^

Re: Connecting Multiple Gameservers to Loginserver

Posted: Mon Apr 27, 2009 2:55 pm
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

Re: Connecting Multiple Gameservers to Loginserver

Posted: Mon Apr 27, 2009 6:33 pm
by crystal2
you have modem+router?

Re: Connecting Multiple Gameservers to Loginserver

Posted: Mon Apr 27, 2009 10:08 pm
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.

Re: [Resolved] Connecting Multiple Gameservers to Loginserver

Posted: Thu May 28, 2009 10:43 pm
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