Page 1 of 1

Access the XAMP Server from outside the local network

PostPosted: 16. March 2010 23:02
by Rzr
Hi there!

Now that my XAMPP server works fine in the local network, i want to approach it from every network outside the local network.
I've already forwarded the ports as far as i could.
But when i insert the ip given by http://whatismyipaddress.com/ in my browser it doesn't give the result i would like!
Anyone have some answers?

Image
I've already did some googling, but the results weren't successfull!

Thanks in advance

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 03:49
by MC10
You need to unblock port 80 from your firewall to allow outcoming access from your server. Once you're done with that, try to access the IP again. (You can also find your IP by using Wikipedia: use http://en.wikipedia.org/wiki/Special:MyTalk; the IP is the title, which is User talk:xxx.xxx.xx.xx depending on your IP)

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 14:32
by Rzr
as the screenshot says, i've already unblocked the ports!
Why isn't it still not working?

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 14:42
by Nobbie
Rzr wrote:Why isn't it still not working?


Some routers do not forward to the Server PC if the request also is coming from the server PC (or from inside the same LAN). Instead they show up the routers config page or similar.

Try to reach your Server from a different PC (outside from your LAN - you may supply a link here so that we can test it for you). And for the clients inside your LAN, you must not enter the Public WAN IP into the browser but the local LAN IP instead.

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 16:56
by CraigS
Don't forget the ISP's; I believe a few ISP's (Namely Comcast Residential customers) do not have incoming port 80 traffic.

Edit: would it be in your comfort area to try moving your server to a different port to test this theory quick?

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 17:57
by Rzr
Someone else tested it and it wouldn't work too! Ports are open, i think ^^!
Has someone a check? I definitely allowed the ports in my firewall and the router too.
Is there some way to check this?
And is there something i need to change in the config file in apache?

By the way, what is ISP??!

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 19:11
by Nobbie
Rzr wrote:And is there something i need to change in the config file in apache?


It depends. Last not least, Apache must LISTEN to your network adapter (i.e. 192.168.xxx.xxx or 10.xxx.xxx.xxx). "Listen 127.0.0.1" for example will fail.


Rzr wrote:By the way, what is ISP??!


Internet Service Provider

By the way: you heard about Google?

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 19:23
by Rzr
I know what a ISP is but in what way is that related to this question ?
EDIT: It's the biggest ISP in The Netherlands, so no that's not the problem that i know!

Re: Access the XAMP Server from outside the local network

PostPosted: 17. March 2010 19:25
by Rzr
#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80
is what the config says.
Here you can find the config file: http://www29.zippyshare.com/v/88116592/file.html

Image