version=5769
builddate=04/02/2013 05:01
hello. i have just set up my server. i can log in via lan but my friends cannot. what im doing wrong?... please help me....
<?xml version="1.0" encoding="UTF-8"?>
<!-- Externalhost here deviljin666.no-ip.info or Localhost IP for local test -->
<gameserver address="deviljin666.no-ip.info" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="deviljin666.no-ip.info" />
<!-- 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" />
</gameserver>
new server... need help....
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 151
- Joined: Wed Jan 04, 2012 7:10 pm
Re: new server... need help....
Do you think it's correct? Address should be inside subnet. For this subnet the IP (IP of domain) should at least starts with 127.deviljin666 wrote: <define subnet="127.0.0.0/8" address="deviljin666.no-ip.info" />
How can people keep servers and don't know about nets, subnets and etc.? Never understand it...
Here is example:
Code: Select all
<gameserver address="YOUR_EXTERNAL_IP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd"> <define subnet="SUBNET" address="YOUR_INTERNAL_IP" /></gameserver>
YOUR_INTERNAL_IP is IP which you can see on your net-connection directly. For example inside "status window" on you network adapter (for Windows) in the line "ipv4 address". It is the IP which you got from your modem (router) or from provider (directly LAN connection).
SUBNET you can see at the same place (but there is a mask, you could convert it to subnet with many online-services) or in router settings or ask your provider (if you has direct LAN connection).
If you're using dedicated linux server, then for most cases internal IP is just localhost (127.0.0.1 with subnet 127.0.0.0/8). You can try "ipconfig" command for accurate information.
-
- Posts: 3
- Joined: Tue Feb 05, 2013 12:39 am
Re: new server... need help....
this is a new configuration i made from http://ipconfig.admincp.eu/
but it still dont work... can you help me please?....
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by http://ipconfig.admincp.eu/ -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="79.107.125.35" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="192.168.1.0/24" address="192.168.1.65" />
</gameserver>
but it still dont work... can you help me please?....
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by http://ipconfig.admincp.eu/ -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="79.107.125.35" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="192.168.1.0/24" address="192.168.1.65" />
</gameserver>
-
- Posts: 151
- Joined: Wed Jan 04, 2012 7:10 pm
Re: new server... need help....
You also need an opened ports for game/login. If you have router and/or firewall then you should permit external connection through chosen ports.
this:
and this:
this:
Code: Select all
# Default: 7777GameserverPort = 7777
Code: Select all
# Default: 2106LoginserverPort = 2106
-
- Posts: 3
- Joined: Tue Feb 05, 2013 12:39 am
Re: new server... need help....
i have forwarded those ports... still nothing... i have noticed that in loginserver it sill connect in 127.0.0.1
is that the problem? and if that is the problem how can i fix it?
is that the problem? and if that is the problem how can i fix it?
-
- Posts: 151
- Joined: Wed Jan 04, 2012 7:10 pm
Re: new server... need help....
What's "it"?deviljin666 wrote:i have noticed that in loginserver it sill connect in 127.0.0.1
If you have login&game on same machine you should see something like this in login console:
Code: Select all
...Listening for GameServers on 127.0.0.1:9014...Login Server ready on *:2106
2106 is external port, which users connect to. "*" means that loginserver pass connections destined to any address (i.e. any server-machine IP, e.g. 79.107.125.35, 192.168.1.65, 127.0.0.1).
You should have setting like:
Code: Select all
LoginserverHostname = *...LoginHostname = 127.0.0.1
When game is connected you should see something like this in login console:
Code: Select all
Updated Gameserver [1] Bartz IP's:192.168.1.65/192.168.1.0/2479.107.125.35/0.0.0.0/0
If you are not sure you can check ports by online-services (one of google's firsts links - http://www.yougetsignal.com/tools/open-ports/). Just check if world web really could connect to server on login/game ports.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: new server... need help....
9014 port must remain localhost only because auto register gameserver is enabled by default.
that port is not for clients but for game servers, so better dont touch it.
that port is not for clients but for game servers, so better dont touch it.