Jump to content
  • 0
OverLord

Server Automatic Close Connection

Question

Centos 7 EC2 Instance
My RO Client see the server and send the request, but dont connecet after select the server.
In my Console i see this mensage:

[Status]: Request for connection of wolfroom (ip: 179.179.193.147).
[Notice]: Authentication accepted (account: wolfroom, id: 2000002, ip: 179.179.193.147)
[Status]: Connection of the account 'wolfroom' accepted.
[Info]: Closed connection from '179.179.193.147'.

My client working in LocalHost i thinking its a litte configure problem in linux or EC2 AWS configs. Please help me!

 

I receive this Warning, i dont know if i really need config this:

[Warning]: Using a wildcard IP range in the allowed server IPs is NOT RECOMMENDED.
[Notice]: Please edit your 'conf/network.conf' allowed list to fit your network configuration.

 

Edited by OverLord

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

check your map-server.conf and char-server.conf, might be some mistake on putting WAN IP.

also in network.conf, put only your local IP in "allowed: ("

Share this post


Link to post
Share on other sites
  • 0
21 hours ago, Dastgir said:

check your map-server.conf and char-server.conf, might be some mistake on putting WAN IP.

also in network.conf, put only your local IP in "allowed: ("

 

My Network Conf
 

// Network configuration file

/*
 * List here any LAN subnets this server is in.
 * Example:
 * - char- (or map-) server's IP in LAN is 192.168.0.10
 * - Public IP is 198.51.100.37
 * If the list contains "192.168.0.10:255.255.255.0", any clients connecting
 * from the same 192.168.0.0/24 network will be presented with the LAN IP
 * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
 */
lan_subnets: (
	"127.0.0.1:255.0.0.0",
	// "192.168.1.1:255.255.255.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from.
 * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
 * from ANY IP. (not recommended).
 */
allowed: (
	"0.0.0.0:0.0.0.0",
	// "127.0.0.1:255.0.0.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from. These ranges
 * will also be excluded from the automatic ipban in casee of password failure.
 * Any entry present in this list is also automatically included in the
 * allowed IP list.
 * Note: This may be a security threat. Only edit this list if you know what
 * you are doing.
 */
trusted: (
	"127.0.0.1:255.0.0.0",
)

I dont have change map and character IP

 

	inter: {
		// Server Communication username and password.
		userid: "playro_root"
		passwd: "3382#!"
		
		// 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: "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: "127.0.0.1"

		// Character Server Port
		char_port: 6121
	}

 

I have try change all to my public IP but dont work too

Share this post


Link to post
Share on other sites
  • 0

I have fixed! In EC2 you nerver uses 127.0.0.1 in any moment (except per mysql connection), you need use the Elastic Public IP you have allocate for you first private ip of the instance.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.