[Help] About connecting from outside

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
flya
Posts: 3
Joined: Mon Jun 04, 2012 5:51 am

[Help] About connecting from outside

Post by flya »

» Find Revision
L2J Revision 5468:
L2JDP Revision 8959:
*Loginserver & Gameserver is started on the same PC.

Hi guys!
When there is a problem with the public outside of L2J.
Please tell me how to resolve :cry:

*******Probrem*********
MyPC : StartingL2 ~ Serverlist ~ CharactorCreate ~ OK!
Outside : StartingL2 ~ Serverlist Stack :'-(
*******Probrem*********

Setup is as follows.
1) GrovalIP : 119.243.177.xx, IPv4 : 192.168.11.3 Subnet : 255.255.255.0 default gateway : 192.168.11.1
2) DNS : xxxxxxx.ddo.jp *Automatic IP Updates configured by "DISE".
3) Open ports on the router (7777,2106).
  Confirmed open port(http://www.canyouseeme.org/)
4) Configuring the Firewall(Norton setting of traffic rules) Done.
5) loginserver.properties(No basic change)

Code: Select all

# ---------------------------------------------------------------------------# Networking# --------------------------------------------------------------------------- # Bind ip of the LoginServer, use * to bind on all available IPs# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)LoginserverHostname = * # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)LoginHostname = * # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014  # ---------------------------------------------------------------------------# Security# ---------------------------------------------------------------------------# Default: TrueLogLoginController = True # How many times you can provide an invalid account/pass before the IP gets banned.# Default: 5LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login.# Default: 900 (15 minutes)LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots# Default: FalseAcceptNewGameServer = False # Flood Protection. All values are in MILISECONDS.# Default: TrueEnableFloodProtection = True # Default: 15FastConnectionLimit = 15 # Default: 700NormalConnectionTime = 700 # Default: 350FastConnectionTime = 350 # Default: 50MaxConnectionPerIP = 50  # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Specify the appropriate driver and url for the database you're using.# Examples:# Driver = com.mysql.jdbc.Driver (default)# Driver = org.hsqldb.jdbcDriver# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverDriver = com.mysql.jdbc.Driver# Database URL# URL = jdbc:mysql://localhost/l2jls (default)# URL = jdbc:hsqldb:hsql://localhost/l2jls# URL = jdbc:sqlserver://localhost/database = l2jls/user = sa/password = URL = jdbc:mysql://localhost/l2jls# Database user info (default is "root" but it's not recommended)Login = xxxx# Database connection passwordPassword = xxxxx # Default: 10MaximumDbConnections = 10 # Default: 0MaximumDbIdleTime = 0  # ---------------------------------------------------------------------------# Misc.# ---------------------------------------------------------------------------# If False, the license (after the login) will not be shown.# Default: TrueShowLicence = True # Default: TrueAutoCreateAccounts = True # Datapack root directory.# Defaults to current directory from which the server is started unless the below line is uncommented.#DatapackRoot = C:/Work/tmp/DataPack  # ---------------------------------------------------------------------------# Developer Settings# ---------------------------------------------------------------------------# Default: FalseDebug = False # ---------------------------------------------------------------------------# Restart LS every 24 hours?# ---------------------------------------------------------------------------# Default: False, 24LoginRestartSchedule = FalseLoginRestartTime = 24
6) server.properties(No basic change)

Code: Select all

# ---------------------------------------------------------------------------# Networking# --------------------------------------------------------------------------- # Where's the Login server this gameserver should connect to# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: 127.0.0.1LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests# Default: 9014LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases.# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)GameserverHostname = * # Default: 7777GameserverPort = 7777  # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Specify the appropriate driver and url for the database you're using.# Examples:# Driver = com.mysql.jdbc.Driver (default)# Driver = org.hsqldb.jdbcDriver# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverDriver = com.mysql.jdbc.Driver# Database URL# URL = jdbc:mysql://localhost/l2jgs (default)# URL = jdbc:hsqldb:hsql://localhost/l2jgs# URL = jdbc:sqlserver://localhost/database = l2jgs/user = sa/password = URL = jdbc:mysql://localhost/l2jgs# Database user info (default is "root" but it's not recommended)Login = xxxxxx# Database connection passwordPassword = xxxxx # Default: 100MaximumDbConnections = 100 # Default: 0MaximumDbIdleTime = 0 # ---------------------------------------------------------------------------# Misc Server Settings# ---------------------------------------------------------------------------# This is the server ID that the Game Server will request.# Example: 1 = Bartz# Default: 1RequestServerID = 1 # True = The Login Server will give an other ID to the server if the requested ID is already reserved.# Default: TrueAcceptAlternateID = True # Datapack root directory.# Defaults to current directory from which the server is started unless the below line is uncommented.# WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>#Default: .DatapackRoot = . # Define how many players are allowed to play simultaneously on your server.# Default: 100MaximumOnlineUsers = 100 # Numbers of protocol revisions that server allows to connect.# Delimiter is ;# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u># Default: 267;268;271;273AllowedProtocolRevisions = 267;268;271;273
7) ipconfig.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="xxxxxxx.ddo.jp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.11.3" /></gameserver>
8 ) Settings of the L2.ini

Code: Select all

ServerAddr=xxxxxxx.ddo.jp
9) MyPC Host

Code: Select all

192.168.11.3 xxxxxxx.ddo.jp
____________________________
Sorry for bad english, I'm from Japan
flya
Posts: 3
Joined: Mon Jun 04, 2012 5:51 am

Re: [Help] About connecting from outside

Post by flya »

I solved it myself!
Able to successfully connect.

ipconfig.xml [before]

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="xxxxxxx.ddo.jp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.11.3" /></gameserver>
ipconfig.xml [after]

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="119.243.177.xx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.11.3" /></gameserver>
To describe the "domain" in this configuration file can not be?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [Help] About connecting from outside

Post by jurchiks »

Well, it clearly says IP, though IIRC people have put DynDNS addresses there...
But if your IP is static then what's the difference?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
flya
Posts: 3
Joined: Mon Jun 04, 2012 5:51 am

Re: [Help] About connecting from outside

Post by flya »

Thank you for comment :D
Why can not connect from the outside and described the "DynDNS addresses" to "ipconfig.xml" Why?

I don't know it. .
I looked at the question of the past. "Difference" you said but could not be found :cry:
Post Reply