Jump to content
  • 0

[Info] Closed connection from IP instant upon logging in


Question

Posted

My server just got transferred from one VPS to another, meaning it worked before,

I haven't changed client type/version, so basically the mmo.h stays the same and the packetver as well.

But when I start up the server on the new VPS and logged in, I can see the server selection screen which is

ServerRO (0) then it would just display Failed to Connect to Server after a few seconds.

Here is what is happening on the console:

404074_492972787394485_200569073_n.jpg

Any ideas? Thanks in advance.

11 answers to this question

Recommended Posts

Posted

Hi Mickosis,

The issue you are having is because of improper configuration in your 'login_athena.conf', 'char_athena.conf', and 'map_athena.conf'. It is suggested that you never use the bind ip function; so please make sure you comment out those lines with // in front of the bind entry.

Now for the char_ip, login_ip, and map_ip; you would need to place your VPS's IP and not localhost or 127.0.0.1. The issue you are having is the fact that your login-server_sql is directing traffic to '127.0.0.1', which is to the player's own computer... and he is not the host, the VPS is the host.

You should be able to connect just fine after you have entered the proper values; enjoy and good luck!

Posted

Asura, there's a config like this:

on char_athena.conf:

// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: Your.wan.ip.address

I guess, it's better to use 127.0.0.1 from the login_ip, to restrict outer's connection to the VPS IP and bruteforcing port 6900 right?

anyhow, it's just this:

// The character server connects to the login server using this IP address.

CMIIW

Posted

Asura, there's a config like this:

on char_athena.conf:

// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: Your.wan.ip.address

I guess, it's better to use 127.0.0.1 from the login_ip, to restrict outer's connection to the VPS IP and bruteforcing port 6900 right?

anyhow, it's just this:

// The character server connects to the login server using this IP address.

CMIIW

Hi Winz,

Unfortunately, that would not work out properly. Because the player has to connect to the char server as well; and the login server would direct the traffic to the IP of '127.0.0.1', which is the wrong IP address.

Ultimately, you'd have to use your VPS IP as the values for the login_ip/char_ip/map_ip in the conf files.

Posted

do I need to remove the "//" in bind-ip? or only in char_ip and map_ip?

Hi powerboxx,

Unless you are trying to use different IP's for the different char/map/login servers, you should not be using the bind function. If you are using 1 IP to host all servers; it's better to leave it commented with // in front of the bind_ip value.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...