Page 1 of 1

Can't Connect to server from local computer.

Posted: Wed Mar 21, 2012 10:02 am
by dervel
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4497
L2JDP Revision Number: 7780

We are setted up a server on a home pc, the server is working fine people can log on from difrent networks and i can log at the server from the same pc. The problem comes when someone from the same network tries to connect.

When the local pc tried to connect at the server from external ip it doesn't even reach loginserver.
So we tried to put the computer server ip "192.168.1.4" (see below for more network info). Now it passes the login but doesn't go through the gameserver, it stucks at server selection screen.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="83.124.1.143">      <!-- 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.4/24" address="192.168.1.2" /></gameserver>
this is how the ipconfig.xml look like. The gameserver address is a random but i have putted there my external ip
The server is setted up at a pc with fake ip : 192.168.1.4 and the local pc that can't connect has the ip : 192.168.1.2 subnet mask is 255.255.255.0 at ipconfig.

we tried adding these lines

<define subnet="192.168.0.0/24" address="192.168.1.2" />
<define subnet="192.168.0.0/16" address="192.168.1.2" />
<define subnet="192.168.1.0/24" address="192.168.1.2" />
<define subnet="192.168.1.0/16" address="192.168.1.2" />
<define subnet="192.168.1.2/24" address="192.168.1.2" />

but none of them worked. The local pc can't connect to game. The gameserver shows no error at the logs.
Anyone knows that the problem could be? One post that looks like our problem is viewtopic.php?f=81&t=24292&p=144757&hil ... pc#p144757
but we have already tried that. Also we don't want to switch the server to local only. And ports 2016,7777 are open and as i already told other people can log on game.

Re: Can't Connect to server from local computer.

Posted: Wed Mar 21, 2012 11:45 am
by neaton
We have a same problem.
If i remember very good the problem is in patch.
There is an engine.dll where is the ip adress of your server.

Re: Can't Connect to server from local computer.

Posted: Wed Mar 21, 2012 12:29 pm
by dervel
I don't think engine.dll has any ip of the server or that has to do with the problem. Is there no way to log at the server from a local machine?

Re: Can't Connect to server from local computer.

Posted: Thu Mar 22, 2012 5:47 am
by neaton
And what ip do you write in your l2.ini file?
Maybe there is an internet ip and your client conecting to internet.

Re: Can't Connect to server from local computer.

Posted: Wed May 30, 2012 2:57 am
by BlackArrow
I was able to connect from same computer and from out of network. Now I can only log in from the server computer. Any suggestions? I have checked the router and I have opened the 2106 and 7777 ports. The funny thing is that when I ping within the network I get no connection between the computers.

Re: Can't Connect to server from local computer.

Posted: Sat Jun 30, 2012 6:54 am
by BlackArrow
:D Most problems solved by search...

Re: Can't Connect to server from local computer.

Posted: Sat Jul 14, 2012 10:38 am
by Silv3rMoon
On Freya you can connect only with system, no host, if you connect from PC wich your server is running you dont need System too you just need clear system, please check AUTOCREATE account, and everything should be fine