Page 1 of 1

[HELP] Login Server

Posted: Mon Oct 15, 2012 11:35 pm
by alexishn
Server Version=5207
Datapack Version=8702


My lan server works perfectly but when I try to put online with no-ip starts giving me problems .. anyone can help me?

Config:

Code: Select all

# ---------------------------------------------------------------------------# Login Server Settings# ---------------------------------------------------------------------------# This is the server configuration file. Here you can set up the connection information for your server.# This was written with the assumption that you are behind a router.# Dumbed Down Definitions...# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.# ---------------------------------------------------------------------------# 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 = l2p.no-ip.org# 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 = True # 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 = root # Database connection passwordPassword = AlehN # 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 = False #LoginRestartTime = 24

Error:

Code: Select all

Starting L2J Login Server. loading login configL2Properties: Missing property for key - DatapackRootLoading mmo.propertiesMLog clients using java 1.4+ standard logging.Loading LoginController...Cached 10 KeyPairs for RSA communicationStored 20 keys for Blowfish communicationGameServerTable: Loaded 127 server namesGameServerTable: Loaded 1 registered Game ServersGameServerTable: Cached 10 RSA keys for Game Server communication.Loaded 2 IP Bans.Listening for GameServers on *:9014Telnet server is currently disabled.FATAL: Failed to open server socket. Reason: Cannot assign requested address: bindjava.net.BindException: Cannot assign requested address: bind        at sun.nio.ch.Net.bind0(Native Method)        at sun.nio.ch.Net.bind(Unknown Source)        at sun.nio.ch.Net.bind(Unknown Source)        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)        at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.java:117)        at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:184)        at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:58)  Server terminated abnormally  server terminated Presione una tecla para continuar . . .

Re: [HELP] Login Server

Posted: Tue Oct 16, 2012 6:52 am
by MELERIX
did you read the config ? where it says the following...

# WARNING: Please don't change default IPs here if you don't know what are you doing!
# WARNING: External/Internal IPs are now inside "ipconfig.xml" file.

Re: [HELP] Login Server

Posted: Tue Oct 16, 2012 1:06 pm
by UnAfraid
Leave that config as it was.

Re: [HELP] Login Server

Posted: Sat Oct 20, 2012 6:27 am
by SquiD
Remember the following:

Some routers do not support reverse routing. The what does that mean?
He will not be supported in leaving your route and return to the same point by a redirector like no-ip.
To solve your problem, you must configure the server / login in local ip, and ipconfig.xml address noip.
To get log, internally on your network, you must log the ip static subnet. Who is logging out, will access the no-ip address.
So who will be directing the route contole nat your router/firewall.