Jump to content
  • 0

[SOLVED] Local CharServ can't get contacted when behind a VPN (from server running it)


wiggleman

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/05/22
  • Last Seen:  

Hey folks!

Hope this is the correct subforum.

I'm trying to make my server online for some people on my side. Since my ISP only offers a Carrier-Grade NAT, I have to use a VPN to accomplish this.

So far: The server CAN be found, when the machine running it has the VPN on. I get the following message from the client when logging in:

image.png.0cf30df7a22960033b4bc2148469bc97.png

So far, so good. It can be found and even recognizes usernames and passwords.

The issue on server-side, is the following. It's the charserv.bat:

image.png.7abf40e940e1694cb70942b99f825201.png

 

I'm lost here. Activating a VPN shouldn't block the connection to the local (127.0.0.1) database for this one. The Loginserver and Mapserver, which use the same location, are totally fine, up and running. Mapserver gets the error when connecting to the charserv, but that's obvious. I mean, it's not running, due to the error above.

 

I appreciate any help here, and hope I can play with my guys soon.

Thanks in advance, much love! ❤️

Edited by wiggleman
Solved by myself and a weird logic. Replaced "127.0.0.1" with "localhost"
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/05/22
  • Last Seen:  

On 8/7/2022 at 9:33 AM, LadyNanuia said:

username in SQL database needs to match those in your conf files and also an account with gender " S " in Login.

Unfortunately, that was not it.

 

BUT!

It's solved!

 

A really weird issue, because both should be the same:

I had to replace the 127.0.0.1 address with localhost. It doesn't make any sense to me, but... it's working.

 

My server is up and running for me and my pals now. And I will try to accept the logic behind this issue. ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   2
  • Joined:  02/25/19
  • Last Seen:  

username in SQL database needs to match those in your conf files and also an account with gender " S " in Login.

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