• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Website Wont Go Global

Dkadsfe

Member
Joined
Apr 1, 2016
Messages
280
Reaction score
22
Hello My Website Znoteacc It Works In Local Host But It Does Not Work For Anyone Else, I Port Forwarded 3306,80,7171,7172 Already But It Does Not Work For Anyone Outside Localhost Help Please!
 
Do you use a vps or your home pc? Anyway it is 99% because you didnt portforward correctly.
 
You should only need to port forward:

7171
7172
80
8080

Make sure its both tcp/udp on all ports.

You might need to try a few different settings in your config.lua file for the website. Such as:

Code:
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
    $config['sqlUser'] = '127.0.0.1, root, locahost';

    // phpmyadmin password for OT server:
    $config['sqlPassword'] = 'password';

    // The database name to connect to. (This is usually same as username).
    $config['sqlDatabase'] = 'database';

    // Hostname is usually localhost or 127.0.0.1.
    $config['sqlHost'] = '127.0.0.1, localhost, root';
 
I tried portforwarding all of it but it did not work
I need help where do i put in my ip adress so people could log on my website?
 
Portforward port 7171-7172 Tcp/Udp
Portforward port 80 Tcp/Udp
Don't forget to forward it to your IPv4 adress.
[[ To find your IPv4 adress you can go to CMD (Command prmpt) and type ipconfig ]]
zBrJCjr.jpg


People from outside your network will access your website using your global ip-address.
You can find it using multiple websites. I'll link one here http://www.myipaddress.com/show-my-ip-address/
ZXGriGT.jpg


In config.php you can find this. Put 127.0.0.1 at $config['sqlHost'] = '127.0.0.1';
And make sure all of these matches yours.
Code:
    // ------------------------ \\
    // MYSQL CONNECTION DETAILS \\
    // ------------------------ \\

    // phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
    $config['sqlUser'] = 'OtServ';

    // phpmyadmin password for OT server:
    $config['sqlPassword'] = '2HCkRkQQxPrL';

    // The database name to connect to. (This is usually same as username).
    $config['sqlDatabase'] = 'otserv';

// Hostname is usually localhost or 127.0.0.1.
    $config['sqlHost'] = '127.0.0.1';

Start MYsql and Apache
 
Back
Top