Jump to content
  • 0

Can't make connection to GAME server locally, only LOGIN srv


An4rchy

Question

Hello everyone.

 

So I've been working on a little event in L2 the last few days and today I wanted to test it with a friend, so I decided to open up a test server with my ip so me and my friend can both join and test it.

Nothing I haven't done like 1000 times before.

 

I forwarded the ports 2106, 7777, 9014 (which are the default by l2jserver and I didn't change) and added a firewall exception for these ports. I put as hostname in login server properties and game server properties my IP address and sent a l2.ini with my ip to my friend.

 

 

Here is the weird part. He can login normally, make a char and enter the game. But when I try to login (with localhost/127.0.0.1/IPv4 in my l2.ini, I tried all 3 just in case), I get a connection with the login server, get the server list, but when I select the server I have registered (1 - Bartz) and press OK, nothing happens.

 

I press cancel, try to login again and get account already in use. So what I thought is that I get a connection with the game server but something goes wrong. So I put debug messages in SelectorThread in order to see if I am actually getting a connection established and I'm not getting one. The message account already in use occurs because the login server assumes (and is right to do so) that the connection is established since I was able to connect to login without any problems and select a server so it adds my account to a connected list.

 

In a few words, the message 'account already in use' means nothing and I can't seem to make a connection locally on my GAME server when it is up using my IP(as I said in the beginning, I am able to connect if I don't use my public IP and use localhost to open the server).

 

Using aCis btw, but I don't think it really matters since Tryskell hasn't really made huge changes in game server connections.

 

I would appreciate any help, I've been trying for hours without any luck. I even tried connecting to the server from another PC in my network in case it was the PC and still nothing, same thing.

Edited by An4rchy
Link to comment
Share on other sites

Recommended Posts

  • 0

Well that sucks.

 

The weird thing is on my friend’s pc he can open the server and login from his pc fine. So I guess it must be my internet provider blocking me.

 

Anyway I fixed it by adding a check on ServerList as you suggested.

 

Thanks!

Link to comment
Share on other sites

  • 0

Your provider economy on IPs pool and reserve one IP behind the few dozens users aka "grey IP". Your friend possible have "white IP" and for current session it's only one owner of IP address and he can make connections with external IP usage because the destination node only one. That's the main difference between him and you. I think.

 

P.S. E.g. russian mobile providers always reserve for connection the "grey IP" and impossible this connection to use for direct connections to PCs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • rename the l2.bin into l2.exe
    • L2LIVE.PRO- Dynamic Mid-rates Essence Seven Signs GRAND OPENING - July 5, 20:00 GMT+3 (EEST) TEST SERVER IS OPEN - COME AND CHECK IT OUT TODAY! Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu   Server description * EXP/SP: Dynamic (x1- x100 based on your level, *before* Sayha and EXP buffs * Adena: x50 / Item Drop: x10 / Fishing EXP increased / Attribute EXP increased * Simplified gameplay to stay in the loop while not spending hours and hours farming * Starter Pack containing very useful items for beginners * MP replenishing potions with auto-consumption * No overpowered donations L2LIVE shop * All spellbook coupons, pet spellbook coupons and master books are sold via Game Assistant * Additionally you can buy SP pouches, enchanted talismans, pet training guides and various other consumables for Adena and L-Coin * More items such as cloaks, more talismans, agathions, belts, pendants, enchantment scrolls of various grades, evolution stones, etc will be added! Shop server as a shortcut, and all retail-like ways of earning items are still here! L-Coins * Drops with small change and in random amounts from Lv60+ monsters  * All raidbosses drop random amount of L-Coin Pouches generating up to 420 Lcoin per unit. **Grand Olympiad and Events** * Grand Olympiad is held week day * Format is 1v1, unlimited weekly fights  * Heroes are declared weekly at Sunday * There are three automated events - TvT, CTF and Deathmatch, running at evenings * Orc Fortress, Battle with Balok, Keber Hunter, Archievements Box, Daily Gift Calendar provisional events are active too Custom user commands * .offlineplay command, your character will keep playing till death or server restart * .offlineshop command, keeps your shop sitting until all items are purchased * .apon / .apoff - enable/disable HP/MP autoconsume And lots of other small improvements are waiting for you!   Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu
  • Topics

×
×
  • Create New...