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

ForFun

New Member
Joined
Jun 4, 2009
Messages
35
Reaction score
3
Location
England
Hi all,
I have global ots 10.98 i believe that it is 3.7 DEV, but i am not sure 100% :/ it doest say anywhere.
In localhost i can login and everything is working, but while i change my ip to same as in no-ip dsn then I can't log in and so anybody else.
My cofing.lua is set up correctly. I unlocked ports for Iv4p or whatever its exactly called (i am at work so i can't check it now). also other versions of tfs work just fine and I have no idea what coukd be the issue here.
Any suggestions very welcomed !! please help guys.

//Update the server is this one:
The OTX Server Version: (3.7 . DEV) - Codename: ( SAILOR )
Compiled with: Microsoft Visual C++ version 14.0
Compiled on Oct 9 2016 16:49:09 for platform x86

A server developed by Mattyx14, Brewsterl, Malucooo and The Forgotten Server Developers.
Visit our forum for updates, support, and resources: https://github.com/mattyx14/otxserver/tree/otxserv3/.

My OS: Windows 10
no-ip is set too: ots.zapto.org
in my config.lua my ip is: ots.zapot.org
my server location is: C:\ots
my htdocs config.php server location is: C:/ots/
 
Last edited:
show your port config in your modem/router (assuming you're hosting on your PC) when you can

can people log in with your normal ip, or is it just a problem with no-ip domain?
 
show your port config in your modem/router (assuming you're hosting on your PC) when you can

can people log in with your normal ip, or is it just a problem with no-ip domain?
It is not just people but me as well. and it is not just no-ip. settings are good cuz i can share other server which is just weird. diffrent engine works no problem :/ my setting are standard ports 7171, 7172, 80, 3306, 443 are unblocked for ip 192.168.0. 33. should i try unlock as well iv6p? or iv4p is enough?
 
are you sure 192.168.0.33 is your machine's ipv4?
if it is:
try editing your hosts file?
https://en.wikipedia.org/wiki/Hosts_(file)
have to edit as administrator to save it

My router ip is 192.168.0.1, but ip into my sql is 192.168.0.33 . I don't think that modifying this file will sort issue as diffrent server is working just fine :/
 
My router ip is 192.168.0.1, but ip into my sql is 192.168.0.33 . I don't think that modifying this file will sort issue as diffrent server is working just fine :/
it doesn't hurt to take 30 seconds to type 127.0.0.1 and your domain and save it in hosts file so why wouldn't you even try?
open cmd and type ipconfig
show ipv4 address
like this
yA3EtaS.png


if you have a dynamic ipv4 that changes then you should make a static one so once you port forward it wont get fucked up randomly when your ipv4 changes
 
My router ip is 192.168.0.1, but ip into my sql is 192.168.0.33 . I don't think that modifying this file will sort issue as diffrent server is working just fine :/
The sql server IP is supposed to be either 127.0.0.1 or localhost but I prefer 127.0.0.1 and also edit your host file like @Xeraphus said. Heres a great tutorial made by Limos how to solve this easily.

https://otland.net/threads/port-forwarding-and-connection.230381/

Btw it's a kind of vunlerability to open port 3306, and 443 and for security reasons I would turn them off. To host OTServers you are only required to open port 7171, 7172 and alternatively if you go with web you should open port 80.
These ports are supposed to be opened with UDP and TCP protocols. And they should be forwarded to your IPv4.
 
The sql server IP is supposed to be either 127.0.0.1 or localhost but I prefer 127.0.0.1 and also edit your host file like @Xeraphus said. Heres a great tutorial made by Limos how to solve this easily.[/SIZE]

https://otland.net/threads/port-forwarding-and-connection.230381/

Btw it's a kind of vunlerability to open port 3306, and 443 and for security reasons I would turn them off. To host OTServers you are only required to open port 7171, 7172 and alternatively if you go with web you should open port 80.
These ports are supposed to be opened with UDP and TCP protocols. And they should be forwarded to your IPv4.

Thanks a lot. Everything that you have said make sense! i will try all of it later on when i will be back home.
 
Thanks a lot. Everything that you have said make sense! i will try all of it later on when i will be back home.
I forgot to tell you about this also. This tools can check if your ports is either on or off. But remember to get correct results the ports must be active. aka. If you want to try port 7171 and 7172. TFS must be running. Same with the web. IF you want to check that port. You have to have apache or alternative other webservers running to be able to check if the port is being detected.
http://canyouseeme.org/
 
192.168.0.x is your LAN IP, do not change anything in windows config, restore changes you did.

- in config.lua -> ip = "0.0.0.0" ->this should bind your server to every IP assigned to your machine.

- goto router config (probably 192.168.0.1), look for "DHCP server", give your machine a static IP based on MAC address or hostname.

- still in the router config look for "Port forward", create the rules to forward ports 7171, 7272 (and whatever port you need) point them to your newly static IP previously assigned.

- goto https://www.whatismyip.com and copy your public IP.

- goto your no-ip manager and point it to your public IP


of course after all changes have been made, restart your server and probably reconnect to router, good luck
 
Nothing works I think that this DEV 3.7 is just not working correctly for some odd reason. Any other ots doesnt have a slight problem or whatsoever
 
Back
Top