Jump to content
  • 0

Failed to Connect after Login.


Metra

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  01/10/13
  • Last Seen:  

So I have set up my server for the past couple days, I can connect using 127.0.0.1 on the same computer as the server but I want to be able to connect over LAN and WAN. If i try to connect over LAN i get "Failed to connect to server right after i select the server.

Im pretty sure my config's are fine and everything. But here they are.

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
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip:
// Login Server Port
login_port: 6900
// 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: 205.250.XXX.XXX
// Character Server Port
char_port: 6121

map_athena.conf

// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 205.250.XXX.XXX
// Map Server Port
map_port: 5121

subnet_athena.conf

// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet
subnet: 255.255.255.0:205.250.XXX.XXX:205.250.XXX.XXX

clientinfo.xml

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
  <connection>
  <display>RageQuitRO</display>
  <balloon></balloon>
  <desc>description</desc>
  <address>192.168.1.72</address>
  <port>6900</port>
  <version>31</version>
  <langtype>1</langtype>
  <registrationweb></registrationweb>
	<aid>
		<admin>2000000</admin>
  <admin>2000001</admin>
  <admin>2000002</admin>
	</aid>
	<loading>
		<image>loadingscreen01.jpg</image>
	</loading>
  </connection>
</clientinfo>

I cant even connect over WAN yet but ill tackle that problem when i get LAN to connect.

I am using this hexed client 2012-06-05aRagexeRE.exe.patched (which does connect if its on the same computer and i use the loopback IP in all the conf and the client info).

mmo.h snippet

#ifndef PACKETVER
#define PACKETVER 20120605
//#define PACKETVER 20111116
#endif

ipconfig (Server)

Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : fe80::e9c7:e2c1:c66f:XXXXXX
IPv4 Address. . . . . . . . . . . : 192.168.1.72
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254

Heres what the server says when i try to connect over LAN:

[status]: Memory manager initialised: log/login-server_sql.exe.leaks

			   rAthena Development Team presents
				  ___   __  __
			_____/   | / /_/ /_  ___  ____  ____ _
		   / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
		  / /  / ___ / /_/ / / /  __/ / / / /_/ /
		 /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/
				 http://rathena.org/board/
[info]: SVN Revision: '17095'.
[info]: Server supports up to '4096' concurrent connections.
[info]: Finished reading conf/import/inter_conf.txt.
[info]: Finished reading conf/inter_athena.conf.
[info]: Finished reading conf/import/login_conf.txt.
[info]: Finished reading conf/login_athena.conf.
[status]: The login-server is ready (Server is listening on the port 6900).
[info]: Connection request of the char-server 'RageQuitRO' @ 205.250.XXX.XXX:6121 (
account: 'ragnarok', pass: 'XXXXXXXXXX', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: ragnarok, id: 1, ip: 127.0.0.1)
[status]: Connection of the char-server 'RageQuitRO' accepted.
[status]: Request for connection of Test (ip: 192.168.1.68).
[Notice]: Authentication accepted (account: Test, id: 25000001, ip: 192.168.1.68
)
[status]: Connection of the account 'Test' accepted.
[info]: Closed connection from '192.168.1.68'.

then my client gets "Failed to connect to server" Shortly after.

Any assistance would be much obliged.

Edited by Metra
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  01/10/13
  • Last Seen:  

It looks okay to me? Im connecting to another computer on my network thats hosting the server. And thats it's IP

EDIT: Tried changing it to

205.250.XXX.XXX

and now it dosen't even show up on the server console

Edited by Metra
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  01/10/13
  • Last Seen:  

Thanks so much to

ossi0110

for solving my problem, Turns out i was subnetted wrong. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  83
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

I am currently having this issues. Can you please explain to me what you did to fix your error? Thanks in advance.

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