Zisly
Intermediate OT User
- Joined
- Jun 9, 2008
- Messages
- 7,338
- Reaction score
- 120
Well some people can have problems with port 80 being blocked when they try to host a site, and they have tried everything.
So what you can do is change the port the web server will be listening to, I will show you how to do it.
Configure
I don't know much about this, there is probably a better way
Feel free to rep++ me
So what you can do is change the port the web server will be listening to, I will show you how to do it.
Configure
- First off; go to your XAMPP folder.
- Now go to Apache\conf\ and open the file httpd.conf.
- Search for the word 'Listen', you will now see this;
- - Now what you need to do is simply change the port the server will listen to.
So if I would like it to listen at 7172 then I would replace 'Listen 80' with 'Listen 7172'. - Save the file and your done.
There is a 'catch' with this, you will need to have the port after your IP if it's not listening at 80.
Ex; 83.255.xx.xx:7172
It might not be that fun for people to type :7172 at the end, so what you can do it get a redirection.
I will assume you already have a no-ip account and know how it works. - Go to no-ip.com, log in and go to the add host page.
- Now, pick a hostname and then check Port 80 Redirect.
This will "pop up":
- Get your ip addres from whatsmyip.net and type it in the ip field.
Now set the port the web server is using, in this case 7172. - Now just click Create Host and your done.
It might take some minutes for it to update so stay calm. - Now simple restart/start XAMPP and if everything went right you can now use aname.no-ip.org instead of 83.255.xx.xx:7172.
Of course the ip and :7172 will still be showed but the user doesn't need to enter it.
I don't know much about this, there is probably a better way
Feel free to rep++ me
Last edited: