Page 1 of 1

External connect don't work

Posted: Sat May 28, 2011 1:30 pm
by Amrod
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4626M
L2JDP Revision Number: 8010M

Hello together,

we are planing an upgrade from Gracia Final to Freya. Furthermore we want to let the Gracia Live Server run until we prepared everything. First we wanted to run a Freya Testserver on the same machine like the Liveserver, but it's impossible to let diffrent versions run on the same Loginserver, or isn't it? And also 2 Loginservers on same machine are impossible, because of the port.

Now we try to run the testserver on my machine, i can connect without problems. All others can log in, but if they confirm gameserver, nothing happens (not even an error message).

Port Forwarding on my Router is enabled.

My Configuration:

loginserver.properties

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 = 192.168.x.x *my internal ip* # 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 = 127.0.0.1 # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014 
server.properties

Code: Select all

 ExternalHostname = 192.168.x.x *my internal ip* # 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 = 7778 
ipconfig.xml

Code: Select all

 <?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="192.168.x.x"> *my internal ip*    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="192.168.0.0/16" address="192.168.x.x" /> *my internal ip*    <!-- Routerhost -->    <define subnet="192.168.0.0/16" address="192.168.x.x" /> *my gateway*</gameserver> 
I hope anybody knows why they can't connect.


kind regards

Amrod

Re: External connect don't work

Posted: Sat May 28, 2011 1:48 pm
by Amilius
try to leave an * instead of 192.168.x.x *my internal ip* and remember to change the ips on the host files :)
now that i remember, u should also change the gameserver address with you public ip, in order to allow ppl to connect to gameserver. This is an example

<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="5.173.174.90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">

Re: External connect don't work

Posted: Sat May 28, 2011 2:30 pm
by Amrod
Oh my god that easy and i spent 1 day trying many diffrent configurations.

Thank you very much.

Thread can be closed.