Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Серверная часть (https://forum.zone-game.info/forumdisplay.php?f=148)
-   -   Общий сервер. (вход) (https://forum.zone-game.info/showthread.php?t=5554)

lJackl 04.12.2009 18:25

Общий сервер. (вход)
 
Если визде прописываю 127,0,0,1 я могу играть, но хотелось бы что бы еще друг зашел.
Вписываю свой АП, но при выборе сервака ошибка (невозможно подключиться)

В чем моя ошибка?


ЛогинСервер.
# LoginServer will bind specified network interface
# * - bind all interfaces
loginserver.network.client.host=79.140.4.156


# Host that will be used by LS to listen for GS connections
loginserver.network.gameserver.host=127.0.0.1

ГеймСервер.
# Host that will be used to listen for client connections
gameserver.network.client.host=79.140.4.156


у меня винд7.
зарание спасибо

Добавлено через 18 минут
[INFO 2009-12-04 17-43-59] com.aionemu.commons.network.NioServer:121 - Server l
stening on IP: 195.138.87.249 Port 7777 for Aion Connections
[INFO 2009-12-04 17-43-59] com.aionemu.gameserver.network.loginserver.LoginSe rv
r:102 - Connecting to LoginServer: localhost/127.0.0.1:9014
[INFO 2009-12-04 17-44-00] com.aionemu.gameserver.network.loginserver.LoginSe rv
r:113 - Cant connect to LoginServer: Connection refused: connect

почему он пытаеться сконектиться к 127,0,0,1 если у меня другой ап??

nelegal 05.12.2009 04:35

Re: Общий сервер. (вход)
 
логин делаешь так:
Код:

LoginServer will listen for connections on specified port
loginserver.network.client.port=2106

# LoginServer will bind specified network interface
# * - bind all interfaces
loginserver.network.client.host=79.140.4.156

# How many times player can try to login before he get's banned for bruteforcing
loginserver.network.client.logintrybeforeban=5

# For what time in minutes player should be banned in case of bruteforcing
loginserver.network.client.bantimeforbruteforcing=15

# Host that will be used by LS to listen for GS connections
loginserver.network.gameserver.host=*

# Port that will be used by LS to listen for GS connections
loginserver.network.gameserver.port=9014

# Nuber of additional threads for NIO that will handle only reading
loginserver.network.nio.threads.read=0

# Nuber of additional threads for NIO that will handle only writing
loginserver.network.nio.threads.write=0

# Create accounts automatically or not?
loginserver.accounts.autocreate=true

game так:
Код:

# Port that will be used to listen for client connections
gameserver.network.client.port=7777

# Host that will be used to listen for client connections
gameserver.network.client.host=79.140.4.156

# Maximum online players on the server
gameserver.network.client.maxplayers=100

# Address of login server
gameserver.network.login.address=localhost:9014

# Id of this game server
gameserver.network.login.gsid=1

# Password of this game server
gameserver.network.login.password=пароль

ipconfig так:
Код:

<ipconfig default="79.140.4.156">

    <!--
        IANA-reserved private IPv4 network ranges
        Access only from local networks, external client can't have any of
        the following ip addresses
    -->
   <iprange min="0.0.0.0" max="255.255.255.255" address="79.140.4.156"/>
    <iprange min="172.16.0.0" max="172.31.255.255" address="172.16.0.0"/>
    <iprange min="192.168.0.0" max="192.168.255.255" address="192.168.0.0"/>

</ipconfig>

Попробуй должно получиться.


Текущее время: 13:37. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot