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

Configuration Port Forward, Offline Page and more. Newbies Look here!

pierroth

Mar Co.
Joined
Sep 11, 2008
Messages
343
Reaction score
10
Location
Mexico - California
Aite, I read like so many problems and I had them too!! but I used the search function. Now.. for those lazy guys I'm gonna make it easy for you, so lets start.

First of all
[Port Forward port 80]

Now first of all, just in case, turn the server off, apache and mysql off.

For People that have a Router!
You will have to go to ur DNS ip, which it can be find by going to
XP users: Start > Run > then type cmd
Vista users: Start > then below all programs there is a small box for search, just type cmd and click enter.

Then type ipconfig and you will get something like this
2575d1248062041-port-forward-offline-page-more-newbies-look-here-dns.jpg



As you can see the DNS ip will be 192.168.~.~ so whatever u have there, you will put it in ur address bar. Then it will redirect you to your router settings. From there is all up to you, because we dont have the same router, but I will help giving you a page that will show your router "probably" and will help you port forward it. PortForward.com - Free Help Setting up Your Router or Firewall

Vista Users:


After you do that, go to ur Windows Firewall, click on Change Settings, then another windows will pop up, make sure theres a check mark in On(recommended), thats the only check mark it has to be on the firewall.
Then go to the next tab, the Exceptions tab. In this tab, we will create 2 new ports, so click Add Port and then name it Apache or w/e name u want, make sure u set port 80 and click TCP, then hit ok. Do the same but now click UDP and hit ok. After all that is done! Click Apply and Ok, now disconnect ur connection and restart the computer, just in case :) and Boala! your page will be online with port 80! wiiii!

XP Users:
Click your Firewall, then do the same like above ^^


For People that do not have a router!

You will have to open ports 8080!
Now go to xampp folder
C:\xampp\apache\conf and open httpd.conf with notepad.
Now go to line 53 or find
Code:
Listen 80
Replace
Code:
Listen 80
for
Code:
Listen 8080
and that will be it, save it and close it.
Now, we will go to Firewall settings and add 2 ports.
Add Port and then name it Apache or w/e name u want, make sure u set port 8080 and click TCP, then hit ok. Do the same but now click UDP and hit ok. After all that is done!
Your page should end like
http://your-hostname.com:8080/ and it should work.


[Server is online but it shows offline in your page?]


Note: This is only for TFS 0.2+ bug problem.
Ok, to fix this!
You will have to go to Xampp > htdocs and open config-and-functions.php with notepad or anything to be writeable.
Now go to line 355 or find this line
Code:
$sock = @fsockopen("127.0.0.1", $config['server']['port'], $errno, $errstr, 1);
replace it with:
Code:
$sock = @fsockopen("127.0.0.1", $config['server']['statusProtocolPort'], $errno, $errstr, 1);

Save it and close it, now go to your page and it should show its online! wiii :)

After all this you may wanna go to www.no-ip.org and get a hosting ip and use this hosting ip as ur page, which it'll be like http://thenameofyourserverhere.servegame.com or some random thing or if you dont have a router it will look like this http://thenameofyourserverhere.servegame.com:8080

Hope this tutorial helped, if it did please rep. me :)
If any questions or more info needs to be added please lemme know.

Thanks for reading.
 

Attachments

Last edited:
Back
Top