Page 1 of 1

NETWORK PROBLEM

Posted: Wed Nov 03, 2010 3:01 am
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 ? ? :(

Re: NETWORK PROBLEM

Posted: Wed Nov 03, 2010 4:03 am
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

Re: NETWORK PROBLEM

Posted: Thu Nov 04, 2010 12:10 am
by tukune
Image

Re: NETWORK PROBLEM

Posted: Thu Nov 04, 2010 5:42 pm
by Naonah
open ports 2106 and 7777

Re: NETWORK PROBLEM

Posted: Thu Nov 04, 2010 6:08 pm
by hope
Naonah wrote:open ports 2106 and 7777
If you read first post you will see he has done that already

Re: NETWORK PROBLEM

Posted: Thu Nov 04, 2010 7:28 pm
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)

Re: NETWORK PROBLEM

Posted: Fri Nov 05, 2010 1:12 am
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 -.-"

Re: NETWORK PROBLEM

Posted: Fri Nov 05, 2010 8:49 am
by Naonah
internal should be 127.0.0.1

Re: NETWORK PROBLEM

Posted: Fri Nov 05, 2010 10:40 am
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.