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.
Connection to server from LAN pc
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- BiggBoss
- L2j Veteran
- Posts: 1104
- Joined: Wed Apr 15, 2009 3:11 pm
- Location: Spain
-
- Posts: 42
- Joined: Sat Jun 12, 2010 6:57 pm
Re: Connection to server from LAN pc
loginserver properties:BiggBoss wrote:post your ip configs
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
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
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>
-
- Posts: 76
- Joined: Mon May 02, 2011 10:19 am
- Location: Paris, France
- Contact:
Re: Connection to server from LAN pc
My first guess would be to put "LoginHostname = 127.0.0.1" in LoginServer.properties
French touch.
-
- Posts: 42
- Joined: Sat Jun 12, 2010 6:57 pm
Re: Connection to server from LAN pc
you did take into account that other ppl from remote pcs can enter my server right? its only the lan PC that has problemNerimah wrote:My first guess would be to put "LoginHostname = 127.0.0.1" in LoginServer.properties
- CostyKiller
- Posts: 220
- Joined: Mon Aug 10, 2009 11:48 pm
- Location: Romania
Re: Connection to server from LAN pc
I think the problem is on the last line of ipconfig.xml, try to set it this way:
assuming that 192.168.1.3 is your local server ip address.
Code: Select all
<define subnet="192.168.0.0/16" address="192.168.1.3" />
-
- Posts: 42
- Joined: Sat Jun 12, 2010 6:57 pm
Re: Connection to server from LAN pc
yeah it is my local ip adress.CostyKiller wrote:I think the problem is on the last line of ipconfig.xml, try to set it this way:assuming that 192.168.1.3 is your local server ip address.Code: Select all
<define subnet="192.168.0.0/16" address="192.168.1.3" />
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
