NETWORK PROBLEM

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
vagos1988
Posts: 3
Joined: Wed Sep 29, 2010 6:57 pm

NETWORK PROBLEM

Post by vagos1988 »

hello,

i have installed a Gracia Epilogue server and all work ok...almost all...
problem is i cant log in server from same pc that server runs.....(My friends can log from their PCs)....
The only way i can log from same pc is to set host file like this

127.0.0.1____________localhost
abc.no-ip.biz_________l2authd.linage2.com
192.168.1.2__________abc.no-ip.biz

but when i do this.....my friends cant log....they have 9999 ping....

here are all the files:
Image
Image
Image
Image
Image
my friends have this host file and they can log in server.....me cant :(Image

Plz help......what is wrong ? ? :(
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: NETWORK PROBLEM

Post by Zoey76 »

You are mixing up a lot of thing and/or you got a lot of wrong concepts.

You cannot set up a host file like this:

Code: Select all

127.0.0.1 localhostabc.no-ip.biz L2authd.lineage2.com
The hosts file is used to map hostnames to IP addresses not hostnames into hostnames!

Also, why would you forward l2.exe file?
This isn't needed at all.

Instead of that you could make sure the login server and game server ports are being forwarded.

You've decrypted a client file, which is illegal and not needed, anyway the hosts file from your friends isn't working, the l2.ini you have edited is redirecting them to your server, not their hosts file.

I assume you are running this in a LAN, why are you using a Dynamic DNS service if your server machine has an static IP address?

All the hosts files should look like this (including yours):

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       localhost127.0.0.1 localhost192.168.1.2 l2authd.lineage2.com
In the loginserver.properties you should have:

Code: Select all

ExternalHostname = 192.168.1.2
(Optional) In the server.properties you can change it to allow only connections from your network:

Code: Select all

ExternalHostname = 192.168.1.2
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: NETWORK PROBLEM

Post by tukune »

Image
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: NETWORK PROBLEM

Post by Naonah »

open ports 2106 and 7777
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: NETWORK PROBLEM

Post by hope »

Naonah wrote:open ports 2106 and 7777
If you read first post you will see he has done that already
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: NETWORK PROBLEM

Post by Naonah »

[quote="hope"
If you read first post you will see he has done that already[/quote]

Maybe he did this wrong cuz it works for me :D (and never had problems like this :P )

btw: there are known any possisble issues with so called "no-ip", better buy dedicated machine (with 1 or more static IPs)
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
vagos1988
Posts: 3
Joined: Wed Sep 29, 2010 6:57 pm

Re: NETWORK PROBLEM

Post by vagos1988 »

Zoey76 wrote:You are mixing up a lot of thing and/or you got a lot of wrong concepts.
man i want to inform you that the settings you give me are for LAN use...
why someone to make a LAN server...i have friends in Serbia,Spain etc...They dont live all to my house :P

tukune wrote:......what a joke......
Man abc.no-ip.biz is not the real IP :P
is like xxxxxxxxxx.no-ip.biz

Naonah wrote:If you read first post you will see he has done that already
i have opened ports 2106 and 7777 on 192.168.1.2(PC static Ip)
is that right ??? i think it is..cause server works ok when i log from other pc



And i say again...server works fine with the settings and files i post on 1st post....
the only problem is....i can't log in server from SAME PC
when i use laptop with neighboor's network...i can log normaly...
and my friends too....they can log from their home.....
i m still confused -.-"
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: NETWORK PROBLEM

Post by Naonah »

internal should be 127.0.0.1
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: NETWORK PROBLEM

Post by tukune »

Image

1.Type "tracert xxxxxxxxxx.no-ip.biz"
2.Open your hosts file.
3.Copy and paste global ip-address.

and see http://trac.l2jserver.com/wiki/hosts
All entries in a hosts file must be in the format of:

ipaddress hostname

For example:

192.168.1.1 L2authd.lineage2.com

Notice that you must have a whitespace between the IP address and the hostname. Also keep in mind that the hostname can not contain any symbols like /,http://, etc.

The IP address must be numbers and the hostname must be a name.
Post Reply