WAMP not accessible on LAN
Posted by: SRD (---.dyn.iinet.net.au)
Date: September 24, 2012 07:26AM

I've installed WAMP on a Windows 7 PC, and it is running fine locally, as localhost.

I want PCs on the LAN to be able to view the local server. When they load my PC's IP address in their browser, they receive a "You don't have permission to access / on this server" error.

I followed this guide, but the issue remains. To recap:

I've added an inbound exception to Windows Firewall for port 80 for Private and Domain connections.
I've edited Apache's httpd.conf to include:

Listen 80
Listen 192.168.0.5:80

<Directory "c:/wamp/www/wordpress/">
allow from all
</Directory>

I've edited httpd-vhosts.conf to include:

<VirtualHost 192.168.0.5:80>
DocumentRoot "C:/wamp/www/wordpress"
</VirtualHost>

Any ideas?

Options: ReplyQuote
Re: WAMP not accessible on LAN
Posted by: stevenmartin99 (Moderator)
Date: September 24, 2012 07:29AM

Undo ALL the changes you made


Then left click the wamp icon > put online

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP not accessible on LAN
Posted by: SRD (---.dyn.iinet.net.au)
Date: September 24, 2012 07:31AM

In my local Wordpress, the Wordpress address and Site address were both using localhost.

I changed this to the IP address, and the problem is resolved.

Options: ReplyQuote
Re: WAMP not accessible on LAN
Posted by: stevenmartin99 (Moderator)
Date: September 24, 2012 07:39AM

You can't use localhost for a LAN site!

Goto phpmyadmin and open then Wordpress Db.open the options table

There is 2 lines with localhost.

Edit them with the LAN IP And use that from now on


And still follow my first post above

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 09/24/2012 07:41AM by stevenmartin99.

Options: ReplyQuote


Sorry, only registered users may post in this forum.