Jump to content
  • 0

[SOLVED] Others CAN connect to my server, but I CAN'T


Nosense

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/11/13
  • Last Seen:  

I tried everything I know I could of to try to connect to my server, but I can't connect via localhost.

However, my friend who is helping me test CAN connect to my server.

 

Messing with rAthena's config I can achieve the opposite.(I can connect, but he doesn't)

 

putting up the configs like that:

[char_athena.conf]

login_ip: 192.168.1.2

char_ip: generic.host.name

 

[map_athena.conf]

char_ip: 192.168.1.2

map_ip: generic.host.name

 

yields the first result.(I CAN'T/he CAN)

 

swapping "192.168.1.2" with "127.0.0.1" or "localhost" yields the second result.(I CAN/he CAN'T)

 

If anyone can help me with it, I would be very thankful!

Edited by Nosense
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/11/13
  • Last Seen:  

you mean, use it on the clientinfo.xml?

 

yeah, forgot to mention, using localhost on clientinfo.xml I can get to the world list, but when I click it, it says "Failed to connect to server".

On the server log, only this appears:

[Status]: Request for connection of Test (ip: 127.0.0.1).
[Notice]: Authentication accepted (account: Nosense, id: 2000000, ip: 127.0.0.1)
[Status]: Connection of the account 'Test' accepted.
[Info]: Closed connection from '127.0.0.1'.

by using the same clientinfo.xml that other people will use, I can't even see the world list.

 

----------------------------

[EDIT]

 

Got it solved. Thanks for trying to help, LuLu!

 

All I needed to do was to add a localhost subnet in the 'subnet_athena.conf' after the LAN subnet:

subnet: 255.255.255.0:192.168.1.2:192.168.1.2
subnet: 255.0.0.0:127.0.0.1:127.0.0.1
Edited by Nosense
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

Use 192.168.1.2 for others

and

Use 127.0.0.1 for yourself.

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