[help] Проблема с коннектом к серверу
Помогите пожалуйста, я немогу соединится со своим сервером, При вводе логина и пароля, выскакивает табличка, Вы входите, пожалуйса подождите немного... я жду уже больше 15 минут. Подскажите, что я не так делаю, порты в модеме открыл. внешний мой IP - 77.82.15.4, внутренний 192.168.1.2
Вот конфиги:
ГС:
# ================== #==================#
# L2Emu Project Pack # Network Settings #
# ================== #==================#
# ------------------
# Here you can Setup:
# ------------------
# - General network Connection
# - Telnet
# - Database Connection
# - HTML cache
# ------------------------------------------------------------------------------------------------- #
# Usually you have to change the ExternalHostname option to #
# - 127.0.0.1 (if you want to play alone / testing purpose) #
# - LAN IP* (if you want to play from another computer in the network) #
# - WAN IP** (if you want to play with friends over internet) #
# - Support => http://www.l2emu.net #
# - If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig" #
# - If you want to get you WAN IP, visit http://www.whatismyip.com or http://www.showip.com #
# ------------------------------------------------------------------------------------------------- #
# ---------------------------------
# Section: Network Connection Setup
# ---------------------------------
# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
# This is The IP/Port Gameserver will Assume and Use.
GameServerHostName = 0.0.0.0
GameServerPort = 7777
# this is the Loginserver host and port that this gameserver will try to connect to.
LoginPort = 9014
LoginHost = 192.168.1.2
# This is transmitted to the clients connecting from an external network,
# so it has to be a public IP or resolvable hostname.
ExternalHostname = 77.82.15.4
# This is transmitted to the client from the same network,
# so it has to be a local IP or resolvable hostname
InternalHostname = 192.168.1.2
# ------------------------------------
# Section: Subnets & Advanced Routing
# ------------------------------------
# Define optional networks and router IPs
#
# Format:
#
# Subnet = host, net/mask; host, net/mask, net/mask
#
# host - IP address (200.100.200.100) or
# fully qualified domain name (example.org)
#
# net/mask - mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0
# would be 192.168.*.*
#
# External - external hostname, you defined in server.properties
# Internal - internal hostname, you defined in server.properties
#
# Example:
# Subnet = 169.254.1.100, 169.254.0.0/16, 111.222.333.0/255.255.255.0
InternalNetworks =
OptionalNetworks =
Subnet = Internal, 127.0.0.1/32, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
Subnet = External, 0.0.0.0/0
# ---------------
# Section: Telnet
# ---------------
# Enables /Disables Telnet Server.
EnableTelnet = false
# This is the port telnet server will bind to
# default 23, telnet port.
StatusPort = 23
# If the following is not set, a random password is generated on server startup.
# default l2emuproject, fell free to change it.
StatusPW = l2emuproject
# Use alternative telnet, requiring to do a real login with a GM so your GM-name can be used for messaged instead of "telnet".
AltTelnet = true
# if a password is not set, telnet server will generate a random one, so you define the size of it.
TelnetPasswordLength = 10
# Hosts must be resolvable to an IP.
# define here the IPs allowed to connect to your server via Telnet.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# NOTE: Make sure there are no spaces between hosts/ips !
ListOfHosts = 192.168.1.2,localhost
# ----------------------------
# Section: Database Connection
# ----------------------------
# MySQL Driver we will use to connect to database
Driver= com.mysql.jdbc.Driver
# here are some other drivers :
# Driver= org.hsqldb.jdbcDriver
# Driver= com.microsoft.sqlserver.jdbc.SQLServerDriver
# URL to connect to database.
URL = jdbc:mysql://localhost/L2Emu_DB
# here are some other url's :
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database=L2Emu_DB/user=sa/password=
# your database login (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own login)
Login = root
# your database password (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own pass)
Password = root
# define here how many connections are allowed at the same time.
MaximumDbConnections = 50
# -------------------
# Section: HTML Cache
# -------------------
# Set the html cache's lazy loading true or false
# (Load html's into cache only on first time requested)
________________________________________________________
ЛС:
# ================== #========================#
# L2EMU PROJECT PACK # Network Configuration #
# ================== #========================#
# ================================================================================
================= #
# This is the network configuration file. Here you can set up the connection for your Loginserver. #
# Usually you have to change the LoginServerHostName option to #
# - 127.0.0.1 (if you want to play alone / testing purpose) #
# - LAN IP* (if you want to play from another computer in the network) #
# - WAN IP** (if you want to play with friends over internet) #
# - Support => http://www.l2emu.net #
# - If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig" #
# - If you want to get you WAN IP, visit http://www.whatismyip.com or www.showip.com #
# ================================================================================
================= #
# ==========
# Connection
# ==========
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostName = 192.168.1.2
LoginServerPort = 2106
# The port, ip on which login will listen for GameServers
LoginPort = 9014
LoginHostName = 192.168.1.2
# The delay between IP Update Time.
# set this delay in minutes after which the login updates the gameservers IP's
# (usefull when ip is dynamic)
# (0 = disabled) in Minutes
IpUpdateTime = 10
# Telnet is disabled by default.
EnableTelnet = false
# ============
# Port Related
# ============
# This is the port telnet server will bind to
StatusPort = 12345
# ============
# Pass Related
# ============
# If the following is not set, a random password is generated on server startup.
# StatusPW = somePass
# =====
# Hosts
# =====
# This list can contain IPs or Hosts of clients you wish to allow.
# Hosts must be resolvable to an IP.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# Make sure there are no spaces between hosts/ips
ListOfHosts = 192.168.1.2,localhost
# --------------------
# Database Information
# --------------------
# Define MySQL Driver
Driver = com.mysql.jdbc.Driver
# here you have some more drivers:
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
# Define MySQL Driver URL.
URL = jdbc:mysql://localhost/L2Emu_DB
# here you have some more urls:
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database = L2Emu_DB/user = sa /password = (your pass)
# Your login to Database (default = root)
Login = root
# Your password to database (default = root)
Password = root
# Define how many connections are allowed on your database.
MaximumDbConnections = 10
______________________________________________________
Сборка L2Emu_1066
Что у меня не так стоит?
Dreamlog: Помогите пожалуйста, я немогу соединится со своим сервером, При вводе логина и пароля, выскакивает табличка, Вы входите, пожалуйса подождите немного... я жду уже больше 15 минут. Подскажите, что я не так делаю, порты в модеме открыл. внешний мой IP - 77.82.15.4, внутренний 192.168.1.2
Вот конфиги:
Что у меня не так стоит?
Такое обычно бывает - если в l2.ini не прописал IP своего сервера, т.е. 192.168.1.2
Kilot: Такое обычно бывает - если в l2.ini не прописал IP своего сервера, т.е. 192.168.1.2
Получается, это ко мне на сервер тока по локальной сети достучатся могут? А как сделать так, чтоб люди могли по инету ко мне достукиватся??? и Какие порты со значениями надо открывать?
надо зделать так:
во первих зарегинся на dyndns.comскачай прогу для обновления іп для их сервиса
потом токо в конфігах где внешний іп ставиш свой зарегиной на dyndns blabla.dyndns.org
и все смогут конектитса токо в л2.іні меняеш іп на blabla.dyndns.org
но если у тебя роутер то надо открыть порти !!! там есть типа выртуал сервер там откриваеш их 9014 7777 2106

