Access the XAMP Server from outside the local network

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Access the XAMP Server from outside the local network

Postby Rzr » 16. March 2010 23:02

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
Rzr
 
Posts: 16
Joined: 11. March 2010 21:15

Re: Access the XAMP Server from outside the local network

Postby MC10 » 17. March 2010 03:49

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)
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: Access the XAMP Server from outside the local network

Postby Rzr » 17. March 2010 14:32

as the screenshot says, i've already unblocked the ports!
Why isn't it still not working?
Rzr
 
Posts: 16
Joined: 11. March 2010 21:15

Re: Access the XAMP Server from outside the local network

Postby Nobbie » 17. March 2010 14:42

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.
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04

Re: Access the XAMP Server from outside the local network

Postby CraigS » 17. March 2010 16:56

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?
User avatar
CraigS
 
Posts: 16
Joined: 10. March 2010 23:37
Location: Wisconsin, USA

Re: Access the XAMP Server from outside the local network

Postby Rzr » 17. March 2010 17:57

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??!
Rzr
 
Posts: 16
Joined: 11. March 2010 21:15

Re: Access the XAMP Server from outside the local network

Postby Nobbie » 17. March 2010 19:11

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?
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04

Re: Access the XAMP Server from outside the local network

Postby Rzr » 17. March 2010 19:23

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!
Rzr
 
Posts: 16
Joined: 11. March 2010 21:15

Re: Access the XAMP Server from outside the local network

Postby Rzr » 17. March 2010 19:25

#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
Rzr
 
Posts: 16
Joined: 11. March 2010 21:15


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 203 guests