Jump to content
  • 0

Failed to Connect to Server (Closed connection from 'x.x.x.x')


watermelon51

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  06/25/24
  • Last Seen:  

EDIT: I found my problem and got the client to connect to the server successfully finally! My problem was that I uncommented out the "bind_ip" lines within the conf files, which was limiting the server to only listen to ports 6121 and 5121 locally on 127.0.0.1. Commenting those out and recompiling the server fixed the problem.



I'm currently trying to set up a Renewal server using a VirtualBox Ubuntu 24.04.2 machine. My host machine is using Windows 11. I'm trying to follow along with this guide.

Whenever I try to connect to the server, I'm unable to connect, and a few messages pop up in the Ubuntu terminal:

[Status]: Request for connection of testing123 (ip: (censored))
[Notice]: Authentication accepted (account: testing123, id: 20000001, ip: (censored))
[Status]: Connection of the account 'testing123' accepted.
[Info]: Closed connection from '(censored)'.
[Info]: Web Auth Token for account 20000001 was disabled


My friend on a different network also can't connect to the server, and the same kind of messages pop up whenever he tries to connect.

Things I've tried:
- I've looked around the rAthena forums/wiki for answers but haven't found a clear answer. Although I also don't know what to be looking for.
- I've made sure I'm using the correct packet version for the server and client—when making the server I ran "./configure --enable-packetver=20220406". I downloaded my client from here, and used WARP to diff it. I also changed the line in both src\custom\defines_pre.hpp and src\config\packets.hpp to be #define PACKETVER 20220406
- I've already properly set up port forwarding for ports 6121, 6900, 5121, 8888, and 3306 to be directed to my virtual machine.
- For now I've disabled the firewall with "sudo ufw disable"

I'd be happy to provide my inter/char/map athena conf files if that could be the issue, but I don't want to clutter this post if possible.

Edited by watermelon51
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.02
  • Content Count:  1959
  • Reputation:   202
  • Joined:  01/08/12
  • Last Seen:  

no need to use virtualbox. you can directly run it on windows. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  06/25/24
  • Last Seen:  

20 minutes ago, Brynner said:

no need to use virtualbox. you can directly run it on windows. 

For security purposes, I would like the server to be set up on a virtual machine, which is why I followed that specific guide.
If you're talking about running the client, I've already been running it on Windows

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.

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...