Jump to content
  • 0

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


Question

Posted (edited)

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

Recommended Posts

  • 0
Posted

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!

  • 0
Posted

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.

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.



×
×
  • Create New...