Connection to server from LAN pc

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
DemICE
Posts: 42
Joined: Sat Jun 12, 2010 6:57 pm

Connection to server from LAN pc

Post by DemICE »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 5176
L2JDP Revision Number: 8676

Hello, i seem to have a problem. I run my server at my laptop, and i wanna connect to it from my desktop. The 2 PCs are in the same Homegroup (lan).

Even though a friend of mine could connect to my server from his home by putting my ip at his hosts file, i could not connect to my server from my LAN desktop. I can pass the login, but i cannot continue past the server selection screen. It just stays there forever.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: Connection to server from LAN pc

Post by BiggBoss »

post your ip configs
Image
DemICE
Posts: 42
Joined: Sat Jun 12, 2010 6:57 pm

Re: Connection to server from LAN pc

Post by DemICE »

BiggBoss wrote:post your ip configs
loginserver properties:

Code: Select all

 # 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
server properties:

Code: Select all

# 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
ipconfig:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="85.72.82.232" 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="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.0.0" />    <define subnet="192.168.1.3/16" address="192.168.1.3" /></gameserver>
Nerimah
Posts: 76
Joined: Mon May 02, 2011 10:19 am
Location: Paris, France
Contact:

Re: Connection to server from LAN pc

Post by Nerimah »

My first guess would be to put "LoginHostname = 127.0.0.1" in LoginServer.properties
French touch.
DemICE
Posts: 42
Joined: Sat Jun 12, 2010 6:57 pm

Re: Connection to server from LAN pc

Post by DemICE »

Nerimah wrote:My first guess would be to put "LoginHostname = 127.0.0.1" in LoginServer.properties
you did take into account that other ppl from remote pcs can enter my server right? its only the lan PC that has problem
User avatar
CostyKiller
Posts: 220
Joined: Mon Aug 10, 2009 11:48 pm
Location: Romania

Re: Connection to server from LAN pc

Post by CostyKiller »

I think the problem is on the last line of ipconfig.xml, try to set it this way:

Code: Select all

<define subnet="192.168.0.0/16" address="192.168.1.3" />
assuming that 192.168.1.3 is your local server ip address.
DemICE
Posts: 42
Joined: Sat Jun 12, 2010 6:57 pm

Re: Connection to server from LAN pc

Post by DemICE »

CostyKiller wrote:I think the problem is on the last line of ipconfig.xml, try to set it this way:

Code: Select all

<define subnet="192.168.0.0/16" address="192.168.1.3" />
assuming that 192.168.1.3 is your local server ip address.
yeah it is my local ip adress.

i tried your idea. same thing. i can pass the login but not the server select :(

EDIT: i deleted the last line completely, and i corrected the 2nd from last line to be the same as the one you showed me and IT FUCKING WORKED! yeah! thanks :D
Post Reply