Cant connect to game

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
-PsYcH-
Posts: 32
Joined: Thu Jan 21, 2010 8:38 pm

Cant connect to game

Post 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?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Cant connect to game

Post 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?
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
ShinichiYao
Advanced User
Advanced User
Posts: 262
Joined: Tue Jan 12, 2016 3:53 am

Re: Cant connect to game

Post by ShinichiYao »

Port 7777 ?
-PsYcH-
Posts: 32
Joined: Thu Jan 21, 2010 8:38 pm

Re: Cant connect to game

Post 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?
-PsYcH-
Posts: 32
Joined: Thu Jan 21, 2010 8:38 pm

Re: Cant connect to game

Post 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
-PsYcH-
Posts: 32
Joined: Thu Jan 21, 2010 8:38 pm

Re: Cant connect to game

Post by -PsYcH- »

Guys?
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Cant connect to game

Post by JMD »

Have you opened ports 2106 and 9014?
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: Cant connect to game

Post 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!!!");
}
-PsYcH-
Posts: 32
Joined: Thu Jan 21, 2010 8:38 pm

Re: Cant connect to game

Post by -PsYcH- »

Just got it fixed, it was bad system. Thank you guys.
howdoyouturn69
Posts: 38
Joined: Mon Apr 18, 2011 5:04 am

Re: Cant connect to game

Post 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.
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: Cant connect to game

Post 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.
howdoyouturn69
Posts: 38
Joined: Mon Apr 18, 2011 5:04 am

Re: Cant connect to game

Post 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.
Sacrifice
Advanced User
Advanced User
Posts: 1026
Joined: Thu Aug 14, 2014 6:31 am

Re: Cant connect to game

Post by Sacrifice »

:clap: :wink: :wave:
Post Reply