Jump to content
  • 1

Can't connect (char-server)


yuchinin

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

My cousin is trying to connect to my server,  he can access the login-server, but after successful login, he can't direct to char-server(can't select character). In same router, he can connect with no problem.

I'm using no-ip.

 

char_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: 192.168.0.101


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

char_ip: yxx.noip.me

// Character Server Port
char_port: 6121

map_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: 192.168.0.101
// 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: yxx.noip.me

// 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 (max 16)
// check is if((net-submask & char_ip ) == (net-submask & servip)) => ok

//subnet: 255.0.0.0:127.0.0.1:127.0.0.1
subnet: 255.0.0.0:192.168.0.101:192.168.0.101
subnet: 255.0.0.0:yxx.noip.me:yxx.noip.me

all the port is opened since I check it with http://www.canyouseeme.org/

 

He can login but after login he can't get through to character selection screen.

Can someone help me on this? thanks~

 

logserv.bat screen

[Status]: Connection of the account 'Skellex' accepted.
[Info]: Closed connection from '120.138.93.108'.
[Status]: Request for connection of Skellex (ip: 120.138.93.108) version=51
[Notice]: Authentication accepted (account: Skellex, id: 2000012, ip: 120.138.93
.108)

 

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

no error in login server and char server sounds weird (to me atleast),

can you let me take a look via teamviewer?, i just wanna see it.

Yeah the only information I can get is from Login Server, Map Server and Char Server just stay quite when he connect it.

 

If you wanna take a look with teamviever, PM me when you are online~ /ok

 

no error in login server and char server sounds weird (to me atleast),

can you let me take a look via teamviewer?, i just wanna see it.

Yeah the only information I can get is from Login Server, Map Server and Char Server just stay quite when he connect it.

 

If you wanna take a look with teamviever, PM me when you are online~ /ok

 

Thanks benching for almost 3 hour testing and tweak, finally figure out the problem is at the noip.

/swt

Conclusion is: just change my yxx.noip.me to yxx.no-ip.org and everything is in good condition~

 

Really thanks alot for the help benching.  /no1  /no1  /no1  /no1  /no1

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

 

My cousin is trying to connect to my server,  he can access the login-server, but after successful login, he can't direct to char-server(can't select character). In same router, he can connect with no problem.

I'm using no-ip.

 

char_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: 192.168.0.101


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

char_ip: yxx.noip.me

// Character Server Port
char_port: 6121

map_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: 192.168.0.101
// 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: yxx.noip.me

// 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 (max 16)
// check is if((net-submask & char_ip ) == (net-submask & servip)) => ok

//subnet: 255.0.0.0:127.0.0.1:127.0.0.1
subnet: 255.0.0.0:192.168.0.101:192.168.0.101
subnet: 255.0.0.0:yxx.noip.me:yxx.noip.me

all the port is opened since I check it with http://www.canyouseeme.org/

 

He can login but after login he can't get through to character selection screen.

Can someone help me on this? thanks~

 

logserv.bat screen

[Status]: Connection of the account 'Skellex' accepted.
[Info]: Closed connection from '120.138.93.108'.
[Status]: Request for connection of Skellex (ip: 120.138.93.108) version=51
[Notice]: Authentication accepted (account: Skellex, id: 2000012, ip: 120.138.93
.108)

 

 

Try changing 192.168.0.101 to 127.0.0.1

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

Thanks Scylla, I will try again tomorow~

 

Tell you the result tomorrow~ /ok

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

is that really yxx.noip.me and not yxx.no-ip.me ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

Scylla:

tried changing  192.168.0.101 to 127.0.0.1 already with no luck, same result. /oops

 

benching:

Yeah bro really   yxx.noip.me and not  yxx.no-ip.me . /ok

 

I can know the ip is correct because there is a login log at the login server.

[Status]: Connection of the account 'GM02' accepted.[Info]: Closed connection from '175.xxx.23.xx3'.
[Status]: Request for connection of GM02 (ip: 175.xxx.23.xx3) version=51
[Notice]: Authentication accepted (account: GM02, id: 2000001, ip: 175.xxx.23.xx
3)
[Status]: Connection of the account 'GM02' accepted.
[Info]: Closed connection from '175.xxx.23.xx3'.

and also he can see the server name. Just can't reach the character selection page and come with at "fail to connnect server."  message /sob

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  01/09/16
  • Last Seen:  

Try to use only one subnet line not 3 lines

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

Erm... so in my case what should I put inside the subnet mask? /hmm

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  01/09/16
  • Last Seen:  

// 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:yxx.noip.me:yxx.noip.me[/QOUTE]

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

Will try again tomorrow Sebikuh~  /ok


Same result@@ stuck after seen the server name /hum

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

as usual, im not sure about this,

subnet is 255.0.0.0 and not something else? its usually 255.255.255.0


 

cant enter the character selection,

you sure that theres no error in console?
 

Edited by benching
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

yeah I am pretty sure that there is no error in console. Not event see rejected message .Just this:

 

logserv:

[Status]: Connection of the account 'Skellex' accepted.
[Info]: Closed connection from '175.142.23.173'.

charserv don't event have any error message. /pif

 

Any suggestion? /hmm

 

Edit: I event set all my console_silent to 0, also no any error /panic

Edited by yuchinin
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  01/09/16
  • Last Seen:  

Are you really sure that your char port ist open

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

Yeah I just triple check again at http://www.canyouseeme.org/and my port is opened and it can see my service on char port. /ok


I have a intuition about the problem maybe at subnet...but.... :ani_swt3:

 

or maybe because I am double routing?

charserv:

[Status]: Memory manager initialised: log/char-server.exe.leaks




                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/


                     http://rathena.org/board/


[Info]: Git Hash: '118fa28ae9ac832e89968ce214c27b17d780027d'
[Info]: Server supports up to '4096' concurrent connections.
[Status]: Character server IP address : yxx.noip.me -> 192.168.0.101
[Info]: Done reading conf/import/char_conf.txt.
[Info]: Done reading conf/char_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Done reading '132' messages in 'conf/msg_conf/char_msg.conf'.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Done reading '50' entries in 'db/re/exp_guild.txt'.
[Status]: Done reading '0' entries in 'db/import/exp_guild.txt'.
[Status]: Finished Reading GeoIP Database.
[Status]: Characters per Account: '0'.
[Status]: Defaulting to 192.168.0.101 as our IP address
[Info]: Start checking DB integrity
[Info]: DB integrity check finished with success
[Info]: Default map: 'prontera 156,191'
[Status]: The char-server is ready (Server is listening on the port 6121).


[Info]: Attempt to connect to login-server...
[Status]: Connecting to 192.168.0.101:6900
[Status]: Connected to login-server (connection #2).
[Status]: Awaiting maps from map-server.
[Status]: Map-Server 0 connected: 925 maps, from IP 192.168.0.101 port 5121.
[Status]: Map-server 0 loading complete.

logserv:

[Status]: Memory manager initialised: log/login-server.exe.leaks




                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/


                     http://rathena.org/board/


[Info]: Git Hash: '118fa28ae9ac832e89968ce214c27b17d780027d'
[Info]: Server supports up to '4096' concurrent connections.
[Info]: loginconfig: client_version_to_connect = 51
[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.
[Info]: Done reading '23' messages in 'conf/msg_conf/login_msg.conf'.
[Info]: Ipban conection made
[Status]: The login-server is ready (Server is listening on the port 6900).


[Info]: Connection request of the char-server 'JustRO' @ 192.168.0.101:6121 (acc
ount: 'xxx', pass: 'xxx', ip: '192.168.0.101')
[Notice]: Authentication accepted (account: ragnarok, id: 1, ip: 192.168.0.101)
[Status]: Connection of the char-server 'JustRO' accepted.

mapserv:

[Status]: Memory manager initialised: log/map-server.exe.leaks




                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/


                     http://rathena.org/board/


[Info]: Git Hash: '118fa28ae9ac832e89968ce214c27b17d780027d'
[Info]: Server supports up to '4096' concurrent connections.
[Info]: Char Server IP Address : '192.168.0.101' -> '192.168.0.101'.
[Info]: Map Server IP Address : 'yxx' -> '192.168.0.101'.
...
[Info]: Connecting to the Map DB Server....
[Status]: Connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database log At 127.0.0.1...
...
[Status]: Server is 'ready' and listening on port '5121'.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.0.101:6121
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
...
[Status]: Map-server connected to char-server 'JustRO'.
[Status]: Map Server is now online.

bump

Edited by yuchinin
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  01/09/16
  • Last Seen:  

Pls try your settings and use hamachi for privat server to know it works fine with another connection

Does it work you have a Problem with your ports

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

Yeah I just triple check again at http://www.canyouseeme.org/and my port is opened and it can see my service on char port. /ok

I have a intuition about the problem maybe at subnet...but.... :ani_swt3:

 

or maybe because I am double routing?

charserv:

[Status]: Memory manager initialised: log/char-server.exe.leaks




                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/


                     http://rathena.org/board/


[Info]: Git Hash: '118fa28ae9ac832e89968ce214c27b17d780027d'
[Info]: Server supports up to '4096' concurrent connections.
[Status]: Character server IP address : yxx.noip.me -> 192.168.0.101
[Info]: Done reading conf/import/char_conf.txt.
[Info]: Done reading conf/char_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Done reading '132' messages in 'conf/msg_conf/char_msg.conf'.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Done reading '50' entries in 'db/re/exp_guild.txt'.
[Status]: Done reading '0' entries in 'db/import/exp_guild.txt'.
[Status]: Finished Reading GeoIP Database.
[Status]: Characters per Account: '0'.
[Status]: Defaulting to 192.168.0.101 as our IP address
[Info]: Start checking DB integrity
[Info]: DB integrity check finished with success
[Info]: Default map: 'prontera 156,191'
[Status]: The char-server is ready (Server is listening on the port 6121).


[Info]: Attempt to connect to login-server...
[Status]: Connecting to 192.168.0.101:6900
[Status]: Connected to login-server (connection #2).
[Status]: Awaiting maps from map-server.
[Status]: Map-Server 0 connected: 925 maps, from IP 192.168.0.101 port 5121.
[Status]: Map-server 0 loading complete.

logserv:

[Status]: Memory manager initialised: log/login-server.exe.leaks




                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/


                     http://rathena.org/board/


[Info]: Git Hash: '118fa28ae9ac832e89968ce214c27b17d780027d'
[Info]: Server supports up to '4096' concurrent connections.
[Info]: loginconfig: client_version_to_connect = 51
[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.
[Info]: Done reading '23' messages in 'conf/msg_conf/login_msg.conf'.
[Info]: Ipban conection made
[Status]: The login-server is ready (Server is listening on the port 6900).


[Info]: Connection request of the char-server 'JustRO' @ 192.168.0.101:6121 (acc
ount: 'xxx', pass: 'xxx', ip: '192.168.0.101')
[Notice]: Authentication accepted (account: ragnarok, id: 1, ip: 192.168.0.101)
[Status]: Connection of the char-server 'JustRO' accepted.

mapserv:

[Status]: Memory manager initialised: log/map-server.exe.leaks




                   rAthena Development Team presents
                      ___   __  __
                _____/   | / /_/ /_  ___  ____  ____ _
               / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
              / /  / ___ / /_/ / / /  __/ / / / /_/ /
             /_/  /_/  |_\__/_/ /_/\___/_/ /_/\__,_/


                     http://rathena.org/board/


[Info]: Git Hash: '118fa28ae9ac832e89968ce214c27b17d780027d'
[Info]: Server supports up to '4096' concurrent connections.
[Info]: Char Server IP Address : '192.168.0.101' -> '192.168.0.101'.
[Info]: Map Server IP Address : 'yxx' -> '192.168.0.101'.
...
[Info]: Connecting to the Map DB Server....
[Status]: Connect success! (Map Server Connection)
[Info]: [SQL]: Connecting to the Log Database log At 127.0.0.1...
...
[Status]: Server is 'ready' and listening on port '5121'.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.0.101:6121
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
...
[Status]: Map-server connected to char-server 'JustRO'.
[Status]: Map Server is now online.

bump

I mean error when that friend of yours trying to connect,

there's probably error when he enters the character selection, not when you start the server

Edited by benching
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

Sebikuh:

I try logmein (Hamachi) before this and it work like a charm. And now I use http://www.canyouseeme.org/ to check my port. All of the port is opened and can be seen through public.

 

Benching:

Yeah there is no error when he connect to my server. (He just can't pass through the character selection) The only information the server output is at the logserv:

[Status]: Connection of the account 'Skellex' accepted.
[Info]: Closed connection from '120.138.93.108'.
[Status]: Request for connection of Skellex (ip: 120.138.93.108) version=51
[Notice]: Authentication accepted (account: Skellex, id: 2000012, ip: 120.138.93
.108)

And yes I sure I know you mean the error when he connect to my server but there is no error message from the server. Upper here is the only information I can get when he connect to my server. The charserv and mapserv didn't output any message when he connect. /panic

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

no error in login server and char server sounds weird (to me atleast),
can you let me take a look via teamviewer?, i just wanna see it.

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

Also:

When the server and client uses the same machine,

the client can NOT connect to the server when it is set to use no-ip hostname.

The client on the host machine should be set to connect to localhost instead.

 

This might not be a serious issue, i just though i should say it.

 

Client Date := 2014-10-22bRagexe

Edited by benching
  • 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...