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

if the outsider can connect and you cant you mess with the configs try to use localhost for you and no-ip for friends 100% success (configs always localhost no-ip does the dirty work)

  • 0
Posted

Configs are not touched, I only changed Hostname as I should do. Ofcourse I use localhost for me.

The no-ip thing is unnecessary.

  • 0
Posted (edited)
12 minutes ago, Nightw0lf said:

Hostname = localhost

no-ip does it public and for me works like that

 

Tried it, just because I'm desperate :D

Well if I put on both login server and game server properties hostname = localhost, I can login but now my friend is stuck on server select screen with no-ip.

 

 

There might be a possibility that the connection is made very, very delayed. Saying that because I've still got debug messages when a connection is established and after trying 3-4 times I got some messages on console after 10-15 minutes. But I had already closed L2 client (and it wasn't my friend logging in, I asked).

Edited by An4rchy
  • 0
Posted
Just now, An4rchy said:

 

Tried it, just because I'm desperate :D

Well if I put on both login server and game server properties hostname = localhost, I can login but now my friend is stuck on server select screen.

 

 

There might be a possibility that the connection is made very, very delayed. Saying that because I've still got debug messages when a connection is established and after trying 3-4 times I got some messages on console after 10-15 minutes. But I had already closed L2 client (and it wasn't my friend logging in, I asked).

try to ask him again to login and use some clean pack maybe you did something wrong i mean on core? you do updates with patches?

  • 0
Posted
1 minute ago, Nightw0lf said:

try to ask him again to login and use some clean pack maybe you did something wrong i mean on core? you do updates with patches?

 

It's not the clients (mine and his), we're both using clean latest interlude clients. It's not the protocol either, I removed protocol checks just to be sure about that (in protocol request client packet).

 

I think the problem is with my network or something local, not the client (since I'm able to connect when the server runs on localhost).

  • 0
Posted (edited)

if you have no-ip try to add in Hostname your local ip 192.168... it can translate this too, otherwise try to disable windows firewall just to be 100% sure its not from this.

PS:plus i am always counting on you having no antivirus xD just mentioning

Edited by Nightw0lf
  • 0
Posted
1 minute ago, Nightw0lf said:

if you have no-ip try to add in Hostname your local ip 192.168... it can translate this too, otherwise try to disable windows firewall just to be 100% sure its not from this.

PS:plus i am always counting on you having no antivirus xD just mentioning

 

No antivirus, already tried disabling firewall completely. Gonna try the IPv4 in hostname.

 

BTW, about the delayed debug messages I got, they're not from client connection to game server and they're not delayed. I was just checking my 7777 port in some random site and it sent the messages :D

  • 0
Posted

Tried hostname = IPv4, still nothing.

 

Anyway, going to bed, I hope someone will help out tomorrow or maybe I'll figure it out with a clear head in the morning.

 

Ty anyway.

  • 0
Posted (edited)

Did you change something in internet protocol version 4 tcp/ipv4 properties? If yes make it default and try again

 

I mean this:

A5vPgQl.jpg

Edited by Dragic
  • 0
Posted
9 minutes ago, Dragic said:

Did you change something in internet protocol version 4 tcp/ipv4 properties? If yes make it default and try again

No changes.

 

The only difference in my internet connection from the last time I opened a server at home is that I have cosmote TV configured in my settings as well, but I checked and nothing interferes.

 

I mean it doesn't really make sense why I would be able to establish a connection with login server but not game server. (at least to me)

  • 0
Posted

aCis don't supporting now multi access for game server. You can choose between external and internal IP. Even if you tries to connect to the game server from local network (behind the NAT) you will get from login server the external IP of game server. If your provider gave you "grey IP" behind the him proxy then you never will connected to your game server from local network with using external IP cause provider will blocks any loopback by your WAN IP.

 

The solution of this issue is add some changes in login server for detecting local users and sending them the IP of game connection to the port 9014 (if LS and GS in the same network as user). In this case all local user connections will staying behind NAT.

 

It's around 10 new lines of code in ServerList packet.

 

I reported to Tryskell about this issue after when he dropped 2 IP's config. But he ignored this.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I decided to write some beautiful custom fantasy stories about the beautiful world of Lineage 2 and its oldschool territories. Fictional theme, not related to the real lore of Lineage 2. Besides, everyone has read the real ones. Whenever I have a new story I will post. So without further delay:   The Boat Blessed by Einhasad (Story written by me, proof-reading only by AI) Part 1: The Stranger and Einhasad One beautiful morning, Orcis the clan leader and Chapan, the beautiful female bishop, were sitting in Giran Harbor waiting for the boat. "I have a feeling that this will be a great day, beautiful lady," Orcis told Chapan. The boat arrived, and on top of it stood a stranger. "Ahoy, fellas!" he called out, giving them a high five. "Ahoy... stranger," replied Chapan. "What brings you to this boat?" asked the stranger. "We want to travel the world," said Chapan. "And we want to conquer it all," added Orcis. The stranger looked at them both and said, "I'm in a good mood today, so I will share something with you. Einhasad came to me yesterday and gave me wisdom—wisdom that will let you explore and allow you to conquer. Here, let me show you." The stranger stepped off the boat. Then he stepped back on. He lifted his right foot to step off again, but he didn't; he only pretended to, stepping right back onto the boat instead. He repeated the motion with his right foot again and again. Orcis and Chapan laughed, but the ferryman was furious. "Why are you pretending to disembark while staying on the boat?" shouted the ferryman. "Stop being a fool and either stay on or off! You're making me dizzy acting like a clown!" The stranger stepped off the boat. As he was escorted away from the furious ferryman, he whispered to Chapan, "You can do this dance too. It's funny—try it." As the ferryman and the stranger walked away, Orcis and Chapan started doing the foolish move. They stepped onto the boat, pretended to return to shore, only to place their foot back on the boat at the last moment. They did it many times and had great fun. As they were playing through this crazy dance routine on the boat, something magical happened: Einhasad appeared in front of them. "I see you have found wisdom," Einhasad said. "I will allow you your wisdom, but you are never to step on the boat more than 127 times. And you must never go to the man who lives forever alone on the Primeval Isle, for he can see through your dance and will not like it." Einhasad vanished, the boat departed, and our comedic duo continued their journey... Part 2: The Greatest Healer and the Castle Lord Two days later, a boat arrived at Rune Harbor. Off it stepped an orc and a healer. "You take the town, lady—find a mercenary to help you. I will go take the castle," said the orc. A couple of minutes later, the lone orc appeared at a siege-battered castle. The defenders were repairing the fortress after successfully repelling an attacking force. They saw the orc walking toward the castle with small, steady steps and laughed at him. "Who dares walk against the mightiest clan alone?" The orc continued on his path until he was close to the defenders. Bows were armed; swords were unsheathed. The defenders lunged at the orc, only to find it impossible to hit him. Their weapons could not touch his skin or armor and were instantly repelled. They chased behind the orc, who proceeded into the engraving room and began commune with the artifact, all while the defenders tried in vain to slash and blunt him. Nothing landed—not a single blow. The orc was casting as peacefully as if he were in town, completely uninterrupted. "Masters, masters!" a voice shouted. "I bring bad news from the city! There is a female healer—she came with an orc and a mercenary. They killed the guards, wiped out our force, and took over the city!" "How could that be?" said the castle masters, momentarily forgetting that an orc was actively taking their castle. "The healer, masters! The healer—she can't be killed! Our swords slip right off her armor!" Before they could respond, the engraving completed. "I am now your master, your voice, your ruler," the orc declared. "Bow before me, for I am blessed by Einhasad and I am immortal!" Part 3: The Sanctuary of Primeval Isle Three days later, a female human healer stepped off the boat onto Primeval Isle. She had fool-stepped on the boat 126 times now, taking care never to exceed 127—for as Einhasad had warned, doing so would make her mortal again. "I seek the ruler of this island, for he is to bow before me," she announced. Suddenly, an arrow flew through the dense foliage of Primeval Isle. It pierced straight through the healer's armor and crushed her to the ground. As her eyes closed in her final moments, she heard the voice of Einhasad echo the old warning given to them days ago: "Primeval Isle is sacred. The man who lives there forever has made it so—for I might not have given him wisdom, but I have given him luck." The End  
    • I messaged him on Discord and he blocked me 🤷‍♂️
    • Alisa selling why u dont buy from her?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..