Cannot access WAMP on local ip
Posted by: Khanna91377 (---.socal.res.rr.com)
Date: March 04, 2013 03:38AM

I have WAMP on a Windows 7 64 bit box.

I can access the website locally, but cannot access it via the extneral ip.

The box has an external ip address of 129.168.0.3

WAMP is online

127.0.0.1/localhost resolve in browser

Tested port 80 -> okay

Firewalls are off

I have tried accessing the web site from other computers on the intranet and cannot connect.

Also tried to access Webgrind and getting access forbidden ( my not be related to above issue)


Thoughts?

Options: ReplyQuote
Re: Cannot access WAMP on local ip
Posted by: RiggsFolly (---.as13285.net)
Date: March 04, 2013 10:20AM

Have you port forwarded your router, so that traffic is allowed into it on port 80?

Options: ReplyQuote
Re: Cannot access WAMP on local ip
Posted by: Khanna91377 (---.lsanca.dsl-w.verizon.net)
Date: March 04, 2013 04:30PM

I am not trying put WAMP onto the internet yet.

I am trying to use WAMP on my intranet first (my home net) for testing purposes.

I cannot get box (A), with WAMP and ip address 192.168.0.3 to be seen in a browser by box (cool smiley at ip address of 192.168.0.4.

I have WAMP at work on a 32 bit windows 8 box and all is well.

what is the problem with the 32 bit windows 7 box?

Options: ReplyQuote
Re: Cannot access WAMP on local ip
Posted by: RiggsFolly (---.as13285.net)
Date: March 04, 2013 04:54PM

Nothing is wrong! I assume somebody else did the setup at work.

By default wamp comes with a secure configuration so beginners dont get hacked.


On 'Box A' the box with Wamp installed you will need to either:

1. 'Put Online' using the wampmanager icon menu.
This will change the security for your developed sites to allow access from anywhere.
Then do 2. as well

OR
A better solution would be to edit the httpd.conf ( using the wamp manager icon menus )
Look for this section
<Directory "d:/wamp/www/">

... 

...

#   onlineoffline tag - don't remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Directory>

and change it to
<Directory "d:/wamp/www/">

... 

...

#   onlineoffline tag - don't remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
    Allow from 192.168.0
</Directory>

Add the extra line so that the online/Offline processing does not get compromised.

This would allow access only from any PC on your internal network and of course 127.0.0.1 the localhost.


2.
If you want to be able to use phpMyAdmin/sqlGrind/sqlBuddy you will also have to make that change to these 3 files as well.

c:\wamp\alias\phpmyadmin.conf
c:\wamp\alias\sqlbuddy.conf
c:\wamp\alias\webgrind.conf

Options: ReplyQuote
Re: Cannot access WAMP on local ip
Posted by: Khanna91377 (---.socal.res.rr.com)
Date: March 05, 2013 06:04AM

Tried the above.

results:

Localhost-> Forbidden
192.168.0 -> could not connect

Put setting back stock:

localhost -> okay

FYI also, SQLbuddy and Webgrind are coming up forbidden with stock settings

Could this be related to my other issues?

Options: ReplyQuote


Sorry, only registered users may post in this forum.