Securing Xampp to use as testserver

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

Securing Xampp to use as testserver

Postby carl_galloway » 12. December 2005 21:19

Hi all,

I use my Xampp server on Windows XPSP2, and when I go to Shield's Up it tells me port 80 and 443 are open. I only want to use my Xampp on localhost for testing my blog themes, and don't want the world to be able to access my server. How do I change the Apache server or the Windows firewall to make this happen?

Thanks,

Carl
Carl Galloway
Visit Carl's Site
carl_galloway
 
Posts: 2
Joined: 12. December 2005 21:05

Postby cj_nza » 12. December 2005 22:03

You can use the Apache listen directive to limit the IP address on which it will accept requests.

http://httpd.apache.org/docs/2.0/bind.html
and
http://httpd.apache.org/docs/2.0/mod/mp ... tml#listen

And limiting IP address to IP loopback 127.0.0.1

Not familiar with Windows firewall since I elected to use a firewall that also checks for unauthorised outbound connections.
cj_nza
 
Posts: 53
Joined: 06. September 2005 11:49

Postby capiCrimm » 13. December 2005 06:37

Another option is to get a home router and block all ports from comming through. Combined with a Loopback in apache you should have all bases covered.
capiCrimm
 
Posts: 3
Joined: 13. December 2005 06:33

Postby carl_galloway » 13. December 2005 16:06

Hi guys,

Thanks for the replies. The apache documentation seems to be down, and a google on binding isn't helping much - very complex. Also, I'm only using a dialup connection, and a router seems like an expensive solution.

Would anyone be able tell me what I need to change in my httpd.conf to make apache only listen to 127.0.0.1, so that the outside world can't access my test server? I like using http://localhost to get to my test site, so I don't need anything too complex.

Cheers
Carl
Carl Galloway
Visit Carl's Site
carl_galloway
 
Posts: 2
Joined: 12. December 2005 21:05


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests