[solved] Can't log in my local server

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
Raspoutineur
Posts: 2
Joined: Wed Oct 08, 2014 1:40 pm

[solved] Can't log in my local server

Post by Raspoutineur »

Server Rev. : Revision 6661
DP Rev. : 10460

(H5 BETA)

Hi all,
After some years of pause, i'm back to set up a L2j server ! Only for curiosity and maybe more... :)
But times seem to have changed !! I used to work on both local and online servers and both windows and debian OS without any problem, and now i can't even log in my local server in windows :lol:
You can't imagine all I tried... all possible configurations (local and online like i did before), and no one did work !
And you can't imagine all topics i have read...

All data :
Win 7 pro x64
I launch H5 on the same system than the L2j server.
It is only for pure local purpose, no need to put it online.
No errors on Game and Login serv logs.
My internal address is 192.168.1.42
Firewall disabled (and even if enabled, 7777, 2106 and 9014 ports are open)
I did not edit the L2.ini

My config files :

IPCONFIG
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="127.0.0.1" 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.1.42" />
</gameserver>
GAME SERVER
# Enables automatic port mapping for game server.
# If you have a router game server will request for port forwarding.
# Default: True
EnableUPnP = True

# 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.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 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: 7777
GameserverPort = 7777

LOGIN SERVER
# Enables automatic port mapping for login server.
# If you have a router login server will request for port forwarding.
# Default: True
EnableUPnP = True

# 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: 2106
LoginserverPort = 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: 127.0.0.1
LoginHostname = 127.0.0.1

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014

HOSTS
127.0.0.1 localhost
127.0.0.1 l2authd.lineage2.com
127.0.0.1 l2testauthd.lineage2.com
Am I right or not ?

With this config (and all 100 other configs i tried... local and online with my external IP) i always get the same problem : stuck in "currently login" L2 window.

Thx for your help ! :oops:
Last edited by Raspoutineur on Thu Oct 09, 2014 1:05 pm, edited 1 time in total.
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Can't log in my local server

Post by Zealar »

192.168.1.42 L2authd.Lineage2.com
Also will be good to post server startup log.
Raspoutineur
Posts: 2
Joined: Wed Oct 08, 2014 1:40 pm

Re: Can't log in my local server

Post by Raspoutineur »

Well, it is resolved...
This morning I was sure that theorically lots of my configs were good and it SHOULD have worked almost every time (local and online). Considering the problem was not in the configs and that i did correctly prepare my OS, I did download another clean system folder to test it and... it directly worked with a basic config (127.0.0.1 almost everywhere, like i did some years ago).
It seems my previous system was not so clean... My bad, I should have been more meticulous.
I'll put it online later, I'm sure now it will directly work too.

Anyway thx for your answer Zealar.
And cya for some other problems :P
Post Reply