Jump to content
  • 0

Can't connect to server


Johnathan

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

I'm trying to connect to my server but without success. I was able to do this at same computer (using 127.0.0.1) and friends were able to connect to my server using hamachi. Now, I'm trying to use any Amazon AWS.

I see the server, but when I try to login the client freezes and I got an error of timeout.

45BBJYe.jpg           nhDtsKc.jpg

 

In the server-side, I got this:

vXH0x8Z.png

 

Here're my configurations: char_athena.txt

// Athena Character configuration file.

// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.

// Server Communication username and password.
userid: s1
passwd: p1

// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces or any of these characters which are not allowed in
//       Windows filenames \/:*?"<>|
//       ... or else guild emblems won't work client-side!
server_name: rAthena

// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server

// 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: AMAZON_AWS_PUBLIC_DNS

// 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: 127.0.0.1

// 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: AMAZON_AWS_PUBLIC_DNS

// Character Server Port
char_port: 6121

 

map_athena.txt

//--------------------------------------------------------------
//rAthena Map-Server Configuration File
//--------------------------------------------------------------

// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.

//--------------------------------------------------------------
//                     Configuration Info
//--------------------------------------------------------------
// Interserver communication passwords, set in account.txt (or equiv.)
userid: s1
passwd: p1

// 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: AMAZON_AWS_PUBLIC_DNS

// 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: AMAZON_AWS_PUBLIC_DNS

// Map Server Port
map_port: 5121

 

subnet_athena.txt

// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet (max 16)
// check is if((net-submask & char_ip ) == (net-submask & servip)) => ok

subnet: 255.0.0.0:AMAZON_AWS_PUBLIC_DNS:AMAZON_AWS_PUBLIC_DNS

 

I've already port-forwarding 6900, 6121 and 5121. May someone help me?

Link to comment
Share on other sites

17 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

I solved the problem, only changed the AMAZON_AWS_PUBLIC_DNS in char_athena and map_athena, for the ipv4 provided by Amazon. I don't know if this is Elastic IP. 

The other files still having the AMAZON_AWS_PUBLIC_DNS.

Thx for the help.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

I leave the subnet_athena.txt into default, and its working perfectly.

try again ? 

I never open the port because it auto. maybe firewall blocking ? 

try leave the subnet into default value first. 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

20 minutes ago, mrlongshen said:

I leave the subnet_athena.txt into default, and its working perfectly.

try again ? 

I never open the port because it auto. maybe firewall blocking ? 

try leave the subnet into default value first. 

5

I reverted the subnet to default values, but the problem still remains. How can I see the firewall configs?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

50 minutes ago, Johnathan said:

I reverted the subnet to default values, but the problem still remains. How can I see the firewall configs?

ok cool.

how about you send the configuration at clientinfo.xml ? paste it here.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

2 minutes ago, mrlongshen said:

ok cool.

how about you send the configuration at clientinfo.xml ? paste it here.

 

Here it is:

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Client Information</desc>
	<servicetype>korea</servicetype>
	<servertype>primary</servertype>
	<connection>
		<display>Local</display>
			<address>AMAZON_AWS_PUBLIC_DNS</address>
      		<port>6900</port>
      		<version>54</version>
      		<langtype>1</langtype>
			<aid>
				<admin>2000000</admin>
			</aid>
			<yellow>
				<admin>2000000</admin>
			</yellow>
		<registrationweb>www.ragnarok.com</registrationweb>
		<loading>
			<image>loading00.jpg</image>
			<image>loading01.jpg</image>
			<image>loading02.jpg</image>
			<image>loading03.jpg</image>
			<image>loading04.jpg</image>
		</loading>
   	</connection>
</clientinfo>

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

ok cool. its in good. do you diff packet obstruction ? any error in console ? 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

what RagEXE do you use?

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

15 minutes ago, chatterboy said:

what RagEXE do you use?

I'm using the 2015-10-29.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

27 minutes ago, mrlongshen said:

ok cool. its in good. do you diff packet obstruction ? any error in console ? 

The server was compiled commenting this in mmo.h, the NEMO doesn't have this option. The server doesn't show any errors.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

Now, after trying to connect, the client said that the server is closed.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

43 minutes ago, Johnathan said:

The server was compiled commenting this in mmo.h, the NEMO doesn't have this option. The server doesn't show any errors.

try disable PACKET_OBFUSCATION in src/config/core.h by commenting out #define PACKET_OBFUSCATION and recompile

check your client version in mmo.h
and also check your firewall, check your ports are open here is a link to check 

Edited by Cyro
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

8 minutes ago, Cyro said:

try disable PACKET_OBFUSCATION in src/config/core.h by commenting out #define PACKET_OBFUSCATION

check your client version in mmo.h
and also check your firewall, check your ports are open here is a link to check 

 
 

The PACKET_OBFUSCATION is already commented and the version on mmo.h is correct. I checked on your site, all ports are opened.

I disabled the firewall, by using sudo ufw disable, still with the same problem.

Edited by Johnathan
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

1 minute ago, Johnathan said:

The PACKET_OBFUSCATION is already commented. I checked on your site, all ports are opened.

I disabled the firewall, by using sudo ufw disable, still with the same problem.


and mmo.h? recompiled after disabling  PACKET_OBFUSCATION ?

may be try using your elastic ip in your client.xml instead of using dns 

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

27 minutes ago, Cyro said:


and mmo.h? recompiled after disabling  PACKET_OBFUSCATION ?

may be try using your elastic ip in your client.xml instead of using dns 

 

 

Yes, I recompiled disabling PACKET_OBFUSCATION. Where did I find this Elastic IP?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

2 minutes ago, Johnathan said:

Yes, I recompiled disabling PACKET_OBFUSCATION. Where did I find this Elastic IP?

you mentioned you using amazon AWS they provide elastic ip's for vps

anyways i still wana know you have done checking your client version in mmo.h?

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  11/29/16
  • Last Seen:  

Just now, Cyro said:

you mentioned you using amazon AWS they provide elastic ip's for vps

anyways i still wana know you have done checking your client version in mmo.h?

 

Yes man, the version is correct. I tested to a 2015-11-04b client diffed. I still having the same problem.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

Check your packet_db.txt if there is available for you 20151029 RAGEXE;)

  • Upvote 1
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...