Skip to content
La2Base
Home
DownloadsWikiForumFAQ
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Форум для новичков[JAVA]/[error] Подключение второго ГС
Search

[error] Подключение второго ГС

4 replies56 viewsCurrently viewing: 1
пашка
пашка

User

Бывалый

Posts: 300

На форуме с: 07/26/2009

Репутация: +46

Рейтинг: 0

· 08/11/2009, 10:47 AM

Сборка l2jserver 5991

Хочу подключить второй ГС к ЛС.

Конфиги:

Кофиг ЛС:

Раскрывающийся текст

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 127.0.0.1

# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = *

# Default: 2106
LoginserverPort = 1250

# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
LoginPort = 9015

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15



Конфиг ГС 1:

Раскрывающийся текст

# Default: 127.0.0.1
LoginHost = 127.0.0.1

# Default: 9014
LoginPort = 9014

# Default: *
GameserverHostname = *

# Default: 7777
GameserverPort = 7777



Конфиг ГС2:

Раскрывающийся текст

# Default: 127.0.0.1
LoginHost = 127.0.0.1

# Default: 9014
LoginPort = 9014

# Default: *
GameserverHostname = *

# Default: 7777
GameserverPort = 7777

# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 2



hexid создал и бросил в папку с конфигами каждого сервера.

Первый сервер даже не отключал, ибо на нем играют, рестартовал только логин и ГС2.
Вот логи ошибок ГС и ЛС:

ЛС:

Раскрывающийся текст


Updated Gameserver [1] Bartz IP's:
InternalIP: *
ExternalIP: 94.181.хх.132
Updated Gameserver [2] Sieghardt IP's:
InternalIP: *
ExternalIP: 94.181.хх.132
GameServer [2] Sieghardt: Connection lost: Connection reset
Server [2] Sieghardt is now set as disconnected



ГС2:

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


Мои соображения: хз.

0
H
HeLLka

User

Бывалый

Posts: 293

На форуме с: 08/09/2007

Репутация: +144

Рейтинг: 0

· 08/11/2009, 10:50 AM

Поменяй порт во 2 ГС на 9015

— А что тут надо писать? :D

0
пашка
пашка

User

Бывалый

Posts: 300

На форуме с: 07/26/2009

Репутация: +46

Рейтинг: 0

· 08/11/2009, 10:52 AM

С поменяным на 9015 портом:

Connecting to login on 127.0.0.1:9015
FATAL: Failed to open server socket. Reason: Address already in use: bind

0
V
VlLight

User

Бывалый

Posts: 235

На форуме с: 05/20/2009

Репутация: +63

Рейтинг: 0

· 08/11/2009, 11:08 AM

9014 верни как было
7777 для второго ГС поменяй на другой

0
Topic is closed for replies