Can't login 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
Atlantis
Posts: 3
Joined: Mon Mar 19, 2012 8:25 am

Can't login from outside

Post 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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Can't login from outside

Post by Zoey76 »

Check HOSTS file.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Atlantis
Posts: 3
Joined: Mon Mar 19, 2012 8:25 am

Re: Can't login from outside

Post 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
User avatar
nonom
L2j Veteran
L2j Veteran
Posts: 649
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: Can't login from outside

Post by nonom »

Use a IP instead brolo.servegame.com

See the example above in the file documentation
Image
"There are three kinds of people in this world, those who can count and those who can't"
Atlantis
Posts: 3
Joined: Mon Mar 19, 2012 8:25 am

Re: Can't login from outside

Post by Atlantis »

nonom wrote:Use a IP instead brolo.servegame.com

See the example above in the file documentation
Already tried, thanks.
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Can't login from outside

Post by JMD »

Using a DNS like "no-ip" only works for the ipconfig.xml. On your host files you should always use numbers.
User avatar
Silv3rMoon
Posts: 96
Joined: Wed May 30, 2012 12:46 am

Re: Can't login from outside

Post by Silv3rMoon »

Just make account autocreate!
Image
Post Reply