Page 1 of 1

Can't login from outside

Posted: Mon Mar 19, 2012 8:34 am
by Atlantis
L2J Revision 5075:
L2JDP Revision 8532:

Hi all.
Spent last week configuring the l2jserver in my lan to connect inside and outside of it.
Connection and play from inside the LAN it's ok, but nobody can login from outside (get "Wrong username or password" message).

Here's the ipconfig file:

Code: Select all

 <?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="brolo.servegame.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="192.168.0.0/16" address="192.168.0.0" /></gameserver> 
The server is running on 192.168.0.144 and ports 7777, 2106 and 9014 have been redirected to this computer (TCP and UDP) and can make PING to "brolo.servegame.com" from outside..., but the game screen returns to username and password prompt with "Wrong username or password" message after login attempt.

Need help, thanks very much.

Re: Can't login from outside

Posted: Mon Mar 19, 2012 12:51 pm
by Zoey76
Check HOSTS file.

Re: Can't login from outside

Posted: Mon Mar 19, 2012 2:15 pm
by Atlantis
Hi, yeah the HOSTS file seems to be correct:

Code: Select all

# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:##      102.54.94.97     rhino.acme.com          # source server#       38.25.63.10     x.acme.com              # x client host # localhost name resolution is handled within DNS itself.#   127.0.0.1       localhost#   ::1             localhost brolo.servegame.com              l2authd.lineage2.com

Re: Can't login from outside

Posted: Mon Mar 19, 2012 2:21 pm
by nonom
Use a IP instead brolo.servegame.com

See the example above in the file documentation

Re: Can't login from outside

Posted: Mon Mar 19, 2012 3:04 pm
by Atlantis
nonom wrote:Use a IP instead brolo.servegame.com

See the example above in the file documentation
Already tried, thanks.

Re: Can't login from outside

Posted: Mon Mar 19, 2012 9:23 pm
by JMD
Using a DNS like "no-ip" only works for the ipconfig.xml. On your host files you should always use numbers.

Re: Can't login from outside

Posted: Fri Jun 08, 2012 11:31 pm
by Silv3rMoon
Just make account autocreate!