WAMPSERVER can not access from url localhost but 127.0.0.1 is ok ( on win8 )

sangpq picture sangpq · Jul 20, 2012 · Viewed 21.2k times · Source

I just switch to win 8 from win 7. On win7 everything is OK with wampserver, but

When i try to access my wampserver via url localhost on win8, i got this error

Forbidden

You don't have permission to access / on this server.

but via url 127.0.0.1 is OK.

I try fix that error by change in phpmyadmin.conf into

<Directory "c:/wamp/apps/phpmyadmin3.4.9/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow        
    Allow from all  
</Directory>

Could anyone help me fix this error? Thanks!

Answer

Sergiu Butnarasu picture Sergiu Butnarasu · Feb 16, 2013

Modify the apache HTTPD.CONF file. Change "Listen 80" to "Listen 0.0.0.0:80 http://forum.wampserver.com/read.php?2,93143