Jump to content
  • 0

How to Let Others Connect to My Private Server?


Vinyasa

Question


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

Hey guys, as you can see I'm new here. And I just recently created a private server (like, last night recently lol). I'm able to get in-game fine (login, choose character, and play) but my question is, how would I be able to get a friend of mine to play on my server? I sent him my RO folder (including clientinfo.xml) and what not. After he puts in his username and password, he gets the "failed to connect to server" after 10 seconds of waiting.

Here is my conf setup:

char_athena

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

passwd: password

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

// 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: LAN IP (IPv4 Address)

// 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: LAN IP (IPv4 Address)

// Character Server Port

char_port: 6121

inter_athena

// Athena InterServer configuration.

// Options for both versions

// Log Inter Connections, etc.?

log_inter: 1

// Inter Log Filename

inter_log_filename: log/inter.log

// Level range for sharing within a party

party_share_level: 15

// SQL version options only

// You can specify the codepage to use in your mySQL tables here.

// (Note that this feature requires MySQL 4.1+)

//default_codepage:

// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1

// Under windows, you want to use 127.0.0.1. If you see a message like

// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"

// and you have localhost, switch it to 127.0.0.1

// Global SQL settings

// overriden by local settings when the hostname is defined there

// (currently only the login-server reads/obeys these settings)

sql.db_hostname: 127.0.0.1

sql.db_port: 3306

sql.db_username: root

sql.db_password: password

sql.db_database: rathena

sql.codepage:

// MySQL Character SQL server

char_server_ip: 127.0.0.1

char_server_port: 3306

char_server_id: root

char_server_pw: password

char_server_db: rathena

// MySQL Map SQL Server

map_server_ip: 127.0.0.1

map_server_port: 3306

map_server_id: root

map_server_pw: password

map_server_db: rathena

// MySQL Log SQL Database

log_db_ip: 127.0.0.1

log_db_port: 3306

log_db_id: root

log_db_pw: password

log_db_db: logs

log_codepage:

log_login_db: loginlog

map_athena

//--------------------------------------------------------------

// Configuration Info

//--------------------------------------------------------------

// Interserver communication passwords, set in account.txt (or equiv.)

userid: username

passwd: password

// 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: LAN IP (IPv4 Address)

// 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: LAN IP (IPv4 Address)

// Map Server Port

map_port: 5121

All ports are forwarded on my router as well.

Any help would be greatly appreciated!

Thanks,

- Vinyasa

Edited by Vinyasa
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  01/15/17
  • Last Seen:  

Can I bump this thread? Im having the same problem Ive already
portforward my router 5121 = IPv4, 6121=IPv4, 6900=IPv4
My char_athena.conf and map_info I put no-ip, it result when I run is IPv4 also
clientinfo I put the IP whats in https://www.whatismyip.com/


I can connect to my server with IPv4 and 127.0.0.1 in my clientinfo, but using my IP whats in https://www.whatismyip.com/ I failed to connect
The thing is my friends from different internet connection cannot connect and getting failed to connect to server, theres no logs also in logserv.bat that theyre trying to connect. I gave them my client, data.ini, and ro.grf which contains clientinfo.xml and has the IP in https://www.whatismyip.com/

I need help I would like to beta test the server with just few players

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

change:-

- login_ip: 127.0.0.1

- char_ip : ipadress /or No-ip

- char_ip: ipadress or No-ip

- map_ip: ipadress or No-ip

clientinfo.xml

<adress>ipadress or No-ip</adress>

Edited by Luffy
Link to comment
Share on other sites


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

So, change it with my WAN IP right?

Thanks for the speedy response by the way.

Edit:

Alright, I tried starting the server and I get this error:

make_connection: connect failed <socket #2, error 10061: No connection could be made because the target machine actively refused it.

Was I supposed to make everything in the inter_athena my wan ip too?

Edit2:

Okay, I set the IP addresses to my LAN IP and I get no error when starting the server. Repacked the edited clientinfo.(with my lan IP) into my .grf and I'm able to put in my username and password.. But now I can't get to the character selection screen..

Edited by Vinyasa
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

wew..are you using txt or sql?

Link to comment
Share on other sites


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

inter_athena

// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1
// Under windows, you want to use 127.0.0.1.  If you see a message like
// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
// and you have localhost, switch it to 127.0.0.1

// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: root
sql.db_password: password
sql.db_database: rathena
sql.codepage:

// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: root
char_server_pw: password
char_server_db: rathena

// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: root
map_server_pw: password
map_server_db: rathena

// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: root
log_db_pw: password
log_db_db: logs
log_codepage:
log_login_db: loginlog

char_athena

// 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:LAN IP Address

// 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: LAN IP Address

map_athena

// Interserver communication passwords, set in account.txt (or equiv.)
userid: username
passwd: password

// 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:LAN IP Address

// 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: LAN IP Address

// Map Server Port
map_port: 5121

Subnet:

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

subnet: 255.0.0.0:127.0.0.1:127.0.0.1
subnet:  255.255.255.0:WAN IP ADDRESS:WAN IP ADDRESS
subnet: 255.255.255.0:LAN IP ADDRESS:LAN IP ADDRESS

I'm using MySQL Workbench 5.2 CE

Okay, apparently I put the wrong LAN address in the subnet and now I'm able to connect. But how would I test if other users are able to connect to my server?

I also tried "No-ip" and the server auto detected my LAN-IP as the one to use to connect. So I'm using the right IP Address, I just can't figure out how to let friends play on my server.

Edited by Vinyasa
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  155
  • Reputation:   2
  • Joined:  10/09/12
  • Last Seen:  

dun forget clientinfo.xml change to your address

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
  <connection>
  <display>Ragnarok</display>
  <balloon>the balloon</balloon>
  <desc>description</desc>
  <address>127.0.0.1</address>
  <port>6900</port>
  <version>26</version>
  <langtype>1</langtype>
  <registrationweb>flux.domain.com</registrationweb>
	<aid>
		<admin>2000003</admin>
  <admin>2000004</admin>
  <admin>2000005</admin>
	</aid>
	<loading>
		<image>loadingscreen01.jpg</image>
	</loading>
  </connection>
</clientinfo>

Edited by Fai T.Flowright
Link to comment
Share on other sites


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

Ya, did it. Other people can't connect unless they're connected to my router.

Edited by Vinyasa
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/22/12
  • Last Seen:  

Basically want to connect it to LAN or WAN?

Sory asking about this..

Link to comment
Share on other sites


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

WAN. I would like other players from around the world to be able to connect to my server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/22/12
  • Last Seen:  

If this ur main problem..I suggest you to use no-ip or do port fowarding.. because WAN and LAN ip so different. :)

Login to ur router area and find port fowarding... What is ur router type?

Link to comment
Share on other sites


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

I already did the port forwading. It's a comcast modem/router.

When I substitute my LAN IP Address for my WAN IP address in char_athena and map_athena, I get this error:

make_connection: connect failed <socket #2, error 10061: No connection could be made because the target machine actively refused it. I don't have an anti-virus installed, and my firewall is off.

New error: make_connection: connect failed <socket #2, error 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Okay, the server starts successfully when I use my LAN IP. But, when I use my WAN IP address, it doesn't connect.

EDIT:

I figured out my issues, thank you for your help. This thread may be closed now.

Edited by Vinyasa
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Hello Vinayasa,

When this thread is closed, please edit the first post, click on the "Use Full Editor" button and change the into "Solved".

Thank you and have a nice day!

Link to comment
Share on other sites


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

although it's solve, but you mind to share the idea how you solve it? i having the same problem now

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

although it's solve, but you mind to share the idea how you solve it? i having the same problem now

Heard that your problem's solved.. or is it not? reply me through PM if other problems occur

Have a nice day!

Link to comment
Share on other sites


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

although it's solve, but you mind to share the idea how you solve it? i having the same problem now

Heard that your problem's solved.. or is it not? reply me through PM if other problems occur

Have a nice day!

Actually i've post a new thread, but not sure should i delete that 1 and continue in this 1, since this is not my post, so i cant mark 'solved' prefix.

and i want to see the solution how did they solve it... because im having exactly same problem right now, but i haven't see any solution here ...yet

Edited by TalkRO
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...