Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know I can put the server online. But I don't want the server accessible through the internet. Any suggestions?

share|improve this question
Adding "Allow from" below "Allow from" to the http.conf worked for me. Thanks for your suggestion. – Kelbizzle Apr 17 '10 at 0:24
Then, as a courtesy, you should accept one of the answers that helped you resolve this. – Michael Todd Jun 4 '10 at 16:17

Allow access to port 80 only from the LAN, not from the Internet.

share|improve this answer

You could set up the configuration of apache, but I'd suggest installing a proper firewall on the machine and only accept IP ranges in your LAN on port 80.

share|improve this answer
up vote 0 down vote accepted

Add "Allow from {yourIP}" below "Allow from" to the http.conf

share|improve this answer
Don't you mean httpd.conf? (Nitpicky I know, but for people new to this, they may get confused..). explicitly limiting apache to a specific set of local IP addresses is a great idea though. – Steve Rathbone Jun 24 '12 at 11:34

I have a vanilla installation of WAMP version 2.2 installed on Windows 7 Pro, but, I am using a custom port (as IIS 7 is already using port 80). When I followed Kelbizzle's answer, my httpd.conf file already had 'Allow from all' permissions set for the \wamp\www folder (default). All I had to do is add an exception to the Windows Firewall for the port I was using to fix this problem.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .