Can't connect to server

botka4aet

New member
Messages
57
Points
0
I download last herc.

mmo.h    #define PACKETVER 20140205

login

inter: {
// The login 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: 9000



char

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

// 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: "NETIP"

// Character Server Port
char_port: 9001


Map

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

// 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: "NETIP"

// Map Server Port
map_port: 9002
}


Compile server and start - no errors

Download client, undiffed exe, nemo, select recommended patches + read data folder first

Clientinfo

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<desc>Ragnarok Client Information</desc>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
<extendedslot />
<readfolder />
<connection>
<display>SERVER NAME HERE</display>
<desc>Ragnarok Online</desc>
<balloon>this is a tool tip</balloon>
<address>NETIP</address>
<port>9000</port>
<version>20</version>
<langtype>1</langtype>
<registrationweb>REGISTRATION URL HERE</registrationweb>
<yellow>
<admin>2000001</admin>
<admin>2000002</admin>
<admin>2000003</admin>
</yellow>
<loading>
<image>loading00.jpg</image>
<image>loading01.jpg</image>
<image>loading02.jpg</image>
<image>loading03.jpg</image>
<image>loading04.jpg</image>
<image>loading05.jpg</image>
<image>loading06.jpg</image>
<image>loading07.jpg</image>
<image>loading08.jpg</image>
<image>loading09.jpg</image>
<image>loading10.jpg</image>
</loading>
</connection>
</clientinfo>


Start client, enter login and nothing.

No mes into login server.

I try to do same with old TXT eathena - all works fine. No problems with ports.

What to do?

 
Hi @botka4aet

You need edit file network.conf too.

at conf folder.
Like this?

Code:
// 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",
)
 
Like this?

// 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",
)

Just edit at lan_subnets,

put your subnet network into lan_subnets

 
Cmd - ipconfig
Copy from it IP and subnet to

lan_subnets: (


?

Same.

I trying connect with vpn from same subnet - still no answer.

ps. Trying 00000000 - same...

pss. watching



- nothing about network.conf...

 
Last edited by a moderator:
1st try:

lan_subnets: (
 "0.0.0.0:0.0.0.0",
allowed: (
 "0.0.0.0:0.0.0.0",

trusted: (
"0.0.0.0:0.0.0.0", 
2nd try

lan_subnets: (
 "127.0.0.1:255.0.0.0",
  "10.228.192.0:255.255.255.0",
  )
allowed: (
 "127.0.0.1:255.0.0.0",
)
trusted: (
 "127.0.0.1:255.0.0.0",

)
2rd try

lan_subnets: (
 "127.0.0.1:255.0.0.0",
  "10.228.192.0:255.255.255.0",

"94.228.0.0:255.255.0.0",
  )
allowed: (
 "127.0.0.1:255.0.0.0",
)
trusted: (
 "127.0.0.1:255.0.0.0",
)
 
Sorry, i want ask you, is this server you play with LAN connection or just for your PC/ i mean Offline server.

 
Eathena_txt 14128

login

// The login 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: 9000
 
char

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

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

// Character Server Port
char_port: 9001
map

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

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

// Map Server Port
map_port: 9002
 
Works fine

Rathena 2011~

login

// The login 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: 94.228.192.29
 
// Login Server Port
login_port: 9000
char

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

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

// Login Server Port
login_port: 9000

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

// Character Server Port
char_port: 9001
map

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

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

// Character Server Port
char_port: 9001

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

// Map Server Port
map_port: 9002
Works fine

Last herc

login

        // The login 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: "10.228.192.207"

        // Login Server Port
        login_port: 9000
 
char

        // 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: "10.228.192.207"

        // 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: "10.228.192.207"

        // Login Server Port
        login_port: 9000

        // 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: "94.228.192.62"

        // Character Server Port
        char_port: 9001
 
map

        // 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: "10.228.192.207"

        // 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: "10.228.192.207"

        // Character Server Port
        char_port: 9001

        // 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: "94.228.192.62"

        // Map Server Port
        map_port: 9002
Doesn't work

???

 
Last edited by a moderator:
<address>94.228.192.62</address> if inet
<address>10.228.192.207</address> if lan
<port>9000</port>



I don't think, that i miss something here

Trying with 2013-08-07aRagexe_patched and 2014-02-05bRagexe_patched

 
<servertype>sakray</servertype>


shouldn't this be "primary"

 
is this new vps? are all ports opened? 6121 5121 6900(default) differs from your config though.

 
Back
Top