Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J Login Problem With D-link 604

Status
Not open for further replies.
Newbie Spellweaver
Joined
Oct 17, 2006
Messages
17
Reaction score
0
today i opened all the ports in my router d-link 604 and tryed to run the server but i coulden't conect with my external ip but i could conect with my internal ip what could be the mather?
 
Newbie Spellweaver
Joined
Oct 17, 2006
Messages
17
Reaction score
0
heres a picture of my server and heres the server.properties
# This is the server configuration file. Here you can set up the connection for your server.
# 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)
# - Questions? =>
#
# * = 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
# ===================================================================================================

# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname=86.100.42.101
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname=192.168.0.112
# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
LoginTryBeforeBan=20
# The Loginserver host and port
LoginPort=9014
LoginHost=127.0.0.1
# This is the server id that the gameserver will request (i.e. 0 is Bartz)
RequestServerID = 0
# If set to true, the login will give an other id to the server if the requested id is allready reserved
AcceptAlternateID = True
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=
MaximumDbConnections=10
#io type nio or aio4j
IOType = nio
# Datapack root directory, defaults to current directory from which the server is started
# DatapackRoot = C:/Work/tmp/DataPackC3
# Define character name template
# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
# will allow names with first capital letter, next three small letters,
# and any (capital or not) letter or number, like ZbigN1eW
# Most rational to have CnameTemplate=[A-Z][a-z]*
# meaning names only of letters with first one capital, like Zbigniew
# Default .* - any namy of any symbols
CnameTemplate=.*
PetNameTemplate=.*
# Maximum number of chars per account - 0 = illimited - default = 7
CharMaxNumber = 7
# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers=100

# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
MinProtocolRevision = 694
MaxProtocolRevision = 709
# Safe Reboot
# This will prevent some exploit during restart/shutdown process
SafeReboot = True
# Network traffic optimization: minimum time between sending char's hp/mp status update packet.
NetworkTrafficOptimization = False
NetworkTrafficOptimizationMs = 1100
and my loginserver.properties
# This is the server configuration file. Here you can set up the connection for your server.
# 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)
# - Questions? =>
#
# * = 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
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=86.100.42.101
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=192.168.0.112
# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
LoginTryBeforeBan=20
GMMinLevel=100
# The port on which login will listen for GameServers
LoginPort=9014
# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = True
# If false, the licence (after the login) will not be shown
ShowLicence = True
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=
MaximumDbConnections=10
# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=0

# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================
Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False
#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50
 
Upvote 0
Newbie Spellweaver
Joined
Oct 17, 2006
Messages
17
Reaction score
0
the main question is why i cant conect with my InternalHostname ip and can't conect with my ExternalHostname ip ????i have opened ports 2106 7777 3306 1334 9014 is there mising some port??? these all ports are opened in my router
 
Upvote 0
Junior Spellweaver
Joined
Feb 7, 2007
Messages
106
Reaction score
2
have u overwritten the hostfile on ur 2nd computer?
and if u turn off the router (D-Link) all ports will close. So u have to forward the again....
 
Upvote 0
Newbie Spellweaver
Joined
Jan 19, 2007
Messages
28
Reaction score
0
Take a look in how to trigger a port
 
Upvote 0
Newbie Spellweaver
Joined
Oct 17, 2006
Messages
17
Reaction score
0
thx guys ill try forwarding but when i turn off the router it doesnt delete the port's that where forwarded :)
 
Upvote 0
Skilled Illusionist
Joined
Jul 3, 2005
Messages
381
Reaction score
0
DLink 604 does not have the loopback function. So you must play on the local address and others use external address to play.
 
Upvote 0
Newbie Spellweaver
Joined
Oct 17, 2006
Messages
17
Reaction score
0
well actualy i think it has that funkcion but the strangest thing is that neither i neither other can conect to my server i can conect on local but can't conect on external ip neither i neither others can conect so its a problem to my server because i had the server for one year now and i djust have to get it runing when i disconect the router it works but when the routers conected i can't hmm... and one more thing before several days iit was runing great at first the diskw wouden't run anyomore and now i can't conect to my server :( its cinda strange ecause a few days ago it ran ok and now this :(
 
Upvote 0
Newbie Spellweaver
Joined
Oct 17, 2006
Messages
17
Reaction score
0
yahooooooooooo............ i fixed the problem i enabled all port ecces to the server for l2.exe and it worked it runs great now i opened ports 2106 7777 3306 1334 9014 from my router and enabled all port acces from kaspersky internet security and it runs great :D :D :D :D :D :D :D
 
Upvote 0
Status
Not open for further replies.
Back
Top