Page 1 of 1

Cant connect to game

Posted: Sat Apr 22, 2017 8:54 pm
by -PsYcH-
Hello guys, so just got stuck with not being able to connect to my server in game... Have edited l2.ini with my server local ip, tried my external ip, but nothing happens... My ip is open, service is loaded, cant get it...
Image
upload photos to website
Any ideas?

Re: Cant connect to game

Posted: Sun Apr 23, 2017 12:14 am
by Zoey76
-PsYcH- wrote: Sat Apr 22, 2017 8:54 pm Hello guys, so just got stuck with not being able to connect to my server in game... Have edited l2.ini with my server local ip, tried my external ip, but nothing happens... My ip is open, service is loaded, cant get it...
upload photos to website
Any ideas?
Moved to support forums.

Did you try to run the game and the server in the same machine?

Re: Cant connect to game

Posted: Mon Apr 24, 2017 1:47 am
by ShinichiYao
Port 7777 ?

Re: Cant connect to game

Posted: Thu Jun 01, 2017 11:48 pm
by -PsYcH-
So I think I used not proper H5 client. Should I see any info in game login screen or in server log if I try to connect with wrong client?

Re: Cant connect to game

Posted: Fri Jun 02, 2017 5:56 pm
by -PsYcH-
Zoey76 wrote: Sun Apr 23, 2017 12:14 am
-PsYcH- wrote: Sat Apr 22, 2017 8:54 pm Hello guys, so just got stuck with not being able to connect to my server in game... Have edited l2.ini with my server local ip, tried my external ip, but nothing happens... My ip is open, service is loaded, cant get it...
upload photos to website
Any ideas?
Moved to support forums.

Did you try to run the game and the server in the same machine?
Nope, it`s different machines, same network.
ShinichiYao wrote: Mon Apr 24, 2017 1:47 am Port 7777 ?
Open
-PsYcH- wrote: Thu Jun 01, 2017 11:48 pm So I think I used not proper H5 client. Should I see any info in game login screen or in server log if I try to connect with wrong client?
And no, other client haven`t helped (Looks stupid answering to my own post :D )
EDIT: Also, my .log of gameserver and loginserver when fully loaded
Game:

Code: Select all

[02/06 18:25:35] GameServer: Started, free memory 924 Mb of 1372 Mb
[02/06 18:25:35] Connecting to login on 192.168.1.250:9014
[02/06 18:25:35] Registered on login as Server 2: Sieghardt
[02/06 18:25:35] GameServer: is now listening on: 192.168.1.250:7777
[02/06 18:25:35] GameServer: Maximum numbers of connected players: 500
[02/06 18:25:35] GameServer: Server loaded in 76 seconds.
[02/06 18:25:35] ----------------------------------------------------=[ UPnP ]
[02/06 18:25:35] Looking for UPnP Gateway Devices...
[02/06 18:25:35] Using UPnP gateway: MediaAccess TG389ac (1533RA0YV)
[02/06 18:25:35] Using local address: 192.168.1.250 External address: 78.63.194.156
[02/06 18:25:35] Mapping successful on 192.168.1.250:7777
[02/06 18:25:35] GameServer: Telnet server is currently disabled.
[02/06 18:33:53] GlobalVariablesManager: Stored 6 variables.
Login:

Code: Select all

[02/06 18:23:28] Using HikariCP connection pool.
[02/06 18:23:28] Loading LoginController...
[02/06 18:23:29] Cached 10 KeyPairs for RSA communication
[02/06 18:23:29] Stored 20 keys for Blowfish communication
[02/06 18:23:29] GameServerTable: Loaded 127 server names.
[02/06 18:23:29] HikariPool-1 - Starting...
[02/06 18:23:30] HikariPool-1 - Start completed.
[02/06 18:23:30] GameServerTable: Loaded 2 registered Game Servers.
[02/06 18:23:30] GameServerTable: Cached 10 RSA keys for Game Server communication.
[02/06 18:23:30] Loaded 2 IP Bans.
[02/06 18:23:30] Listening for GameServers on 192.168.1.250:9014
[02/06 18:23:30] Telnet server is currently disabled.
[02/06 18:23:30] L2LoginServer: is now listening on: 192.168.1.250:2106
[02/06 18:23:30] Looking for UPnP Gateway Devices...
[02/06 18:23:30] Using UPnP gateway: MediaAccess TG389ac (1533RA0YV)
[02/06 18:23:30] Using local address: 192.168.1.250 External address: 78.63.194.156
[02/06 18:23:30] Mapping successful on 192.168.1.250:2106
[02/06 18:25:35] Updated Gameserver [2] Sieghardt IP's:
[02/06 18:25:35] 127.0.0.1/127.0.0.0/8
[02/06 18:25:35] 192.168.1.250/192.168.1.0/24
[02/06 18:25:35] 78.63.194.156/0.0.0.0/0

Re: Cant connect to game

Posted: Mon Jun 05, 2017 3:24 pm
by -PsYcH-
Guys?

Re: Cant connect to game

Posted: Mon Jun 05, 2017 8:58 pm
by JMD
Have you opened ports 2106 and 9014?

Re: Cant connect to game

Posted: Mon Jun 05, 2017 11:12 pm
by Sacrifice
JMD wrote: Mon Jun 05, 2017 8:58 pm Have you opened ports 2106 and 9014?
2106 TCP and 7777 TCP

Code: Select all

if ((TCP.port == 9014) || (UDP.port == 9014))
{
    System.out.println("Noooo!... wrong!!!");
}

Re: Cant connect to game

Posted: Mon Jun 05, 2017 11:36 pm
by -PsYcH-
Just got it fixed, it was bad system. Thank you guys.

Re: Cant connect to game

Posted: Sun Jul 23, 2017 6:10 pm
by howdoyouturn69
Hi. I have the same problem. But a little bit different.

If I use the internal LAN Ip Address it connect (192.168.x.x). When I use the external IP Address (200.x.x.x), or resolution name (by hosts file for example) It doesn't connect.

It stay in logging screen saying "You are currently logging in. Please wait a moment."

How do you fix it? Like you say try with both original and MOD system, and still no clue.

Thanks.

Re: Cant connect to game

Posted: Sun Jul 23, 2017 11:26 pm
by Sacrifice
Answer its very simple... your router (like all modern routers) have the external from/to loopback disabled. Nots an issue or problem.

If you wish to connect to your server, then you must use internal address (192.168.x.x) from internal router network, because if you try to use external IP (imagine 200.43.70.xx) then will not work.

Its the same like tell you that you must to have your own l2.ini and your users use the same l2.ini but with external IP.

Re: Cant connect to game

Posted: Mon Jul 24, 2017 8:18 am
by howdoyouturn69
Sacrifice wrote: Sun Jul 23, 2017 11:26 pm Answer its very simple... your router (like all modern routers) have the external from/to loopback disabled. Nots an issue or problem.

If you wish to connect to your server, then you must use internal address (192.168.x.x) from internal router network, because if you try to use external IP (imagine 200.43.70.xx) then will not work.

Its the same like tell you that you must to have your own l2.ini and your users use the same l2.ini but with external IP.
Amazing. :think: How I didn't notice that. Indeed you are right.

But, right now, the router that I'm using is basic, it does not handle such sophisticated NAT rules.

Thanks.

Re: Cant connect to game

Posted: Tue Jul 25, 2017 12:15 pm
by Sacrifice
:clap: :wink: :wave: