• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Problem with public connections, private works

krafttomten

Well-Known Member
Joined
Jul 23, 2017
Messages
103
Solutions
1
Reaction score
75
Location
Sweden
Hellooo!

So, I can't get my OT public for some reason.

  • The ports 80, 7171 and 7172 are open according to canyouseeme.org.
  • When my brother tries to connect to the server, he can see the character list but gets "Connection failed (ERROR 10060)" after a long delay.
  • The windows firewall should not be the issue because I have tried to turn it off temporarily while attempting to log in and it has not worked.
  • I have edited the system32/drivers/etc/hosts in accordance with the OTS guide.
  • I can log in locally from the server computer and other computers on the local network. I can connect using either the local IP or the public IP.
  • I can connect to, and use, the website from a public network


The problem is only with connecting with the client. Any clue what could be the issue?

*edit (using Windows 7)
 
Last edited:
The address i have entered in config.lua is my global IP adress, is this correct?

*edit
I can connect to the server from the local network no matter if I use the global IP, the IPV4, or just 127.0.0.1. I should use the global ip for public access according to this thread

*edit2
If I use bindOnlyGlobalAddress = true, I get the error message "the requested address is not valid in its context" and nobody can connect to the server.
 
Last edited:
Which server distro are you using?
And which protocol version are you using?
 
I'm bumping this thread with a question.

What IP should I use to connect to the database? I just updated to Znote 2.0 (switched after breaking the old 1.6 database while trying to fix this issue).

There are some connection details in the config.php. If I use 127.0.0.1 as the SQLHost, everything works locally. If I use global IP or IPV4, then connection to the server works fine locally, but the webpage fails to load. I haven't been able to test public access if I change the SQLhost.

I basically know nothing about hosting webpages and servers, so I'm just pushing every button I can find to see what it does. Any help is much appriciated!

Edit*
Okay, now it works. I got some help from God Nixez also to set up a static IP adress, many thanks for that!

No idea what fixed my problem. It might have been that I switched to Znote 2.0 instead of my old 1.6, because other than that I haven't changed any of the settings.
 
Last edited:
Back
Top