TemplarOfTheMist Posted October 1, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 31 Reputation: 1 Joined: 06/05/12 Last Seen: November 28, 2023 Share Posted October 1, 2012 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: Any ideas? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 1, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted October 1, 2012 Change your IP in char+login+map IP Quote Link to comment Share on other sites More sharing options...
TemplarOfTheMist Posted October 1, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 31 Reputation: 1 Joined: 06/05/12 Last Seen: November 28, 2023 Author Share Posted October 1, 2012 Tried changing it with the VPS' IP and 127.0.0.1, same results. Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 1, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted October 1, 2012 Which one did you use, WAN IP or LAN IP? Quote Link to comment Share on other sites More sharing options...
bcangussu Posted October 5, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 10/03/12 Last Seen: February 7, 2014 Share Posted October 5, 2012 I'm getting that same problem here, and i've tried doing it with the local IP on all of them and it didn't help. Quote Link to comment Share on other sites More sharing options...
Asura Posted October 5, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted October 5, 2012 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! Quote Link to comment Share on other sites More sharing options...
Winz Posted October 6, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted October 6, 2012 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 Quote Link to comment Share on other sites More sharing options...
Asura Posted October 6, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted October 6, 2012 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. Quote Link to comment Share on other sites More sharing options...
Winz Posted October 7, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted October 7, 2012 oh, okay. thanks for the explaination, Asura. Quote Link to comment Share on other sites More sharing options...
powerboxx Posted October 12, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 6 Reputation: 0 Joined: 10/09/12 Last Seen: October 31, 2012 Share Posted October 12, 2012 do I need to remove the "//" in bind-ip? or only in char_ip and map_ip? Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 12, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted October 12, 2012 // means the line won't be executed by the server, it's call a comment line. So if you want to enable your bind_ip, then remove the preceding // Quote Link to comment Share on other sites More sharing options...
Asura Posted October 14, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted October 14, 2012 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. Quote Link to comment Share on other sites More sharing options...
Question
TemplarOfTheMist
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:
Any ideas? Thanks in advance.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.