Перейти к содержимому
La2Base
Главная
ЗагрузкиВикиФорумFAQ
ruen
Регистрация Войти
ГлавнаяФайлыВикиВойти
  • Главная
  • Загрузки
  • Вики
  • FAQ
  • Обратная связь
  • О проекте
  • Правила
  • Конфиденциальность
  • Условия использования

© 2026 la2base.com · Все права защищены

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

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

4 ответов55 просмотровСейчас просматривают: 1
пашка
пашка

Пользователь

Бывалый

Постов: 300

На форуме с: 26.07.2009

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

Рейтинг: 0

· 11.08.2009, 10:47

Сборка 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

Пользователь

Бывалый

Постов: 293

На форуме с: 09.08.2007

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

Рейтинг: 0

· 11.08.2009, 10:50

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

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

0
пашка
пашка

Пользователь

Бывалый

Постов: 300

На форуме с: 26.07.2009

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

Рейтинг: 0

· 11.08.2009, 10:52

С поменяным на 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

Пользователь

Бывалый

Постов: 235

На форуме с: 20.05.2009

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

Рейтинг: 0

· 11.08.2009, 11:08

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

0
Тема закрыта для ответов