Question: Hi Friends previously I am using XAMP Server but when I install joomla Templates it creates alots of error. Now I installed the WAMP, but the issues are:
1. I can access with 127.0.0.1, but I cant access with "localhost". 
2 When i access phpmyadmin i get this error. 

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

```
 Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.4.5/" 

# to give access to phpmyadmin from outside 
# replace the lines
#
#        Order Deny,Allow
#   Deny from all
#   Allow from 127.0.0.1
#
# by
#
#        Order Allow,Deny 
#   Allow from all
#

```

> 
> After changing, it will look like this
> 
> 
> 

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

```

> 
> After this just restart Wamp
> 
> 
>

Answer: 
To solve this, I opened `httpd.conf` and changed the following line:

```
Allow from 127.0.0.1

```

to:

```
Allow from 127.0.0.1 ::1

```
None of the above answers worked for me, or where unsafe (as some pointed out, using `Allow from all` can make your files and data accessible to the outside world).

Open the `c:\wamp\alias\phpmyadmin.conf` file and change 

```
Allow from 127.0.0.1

```

to

```
Allow from 127.0.0.1  ::1

```

Explanation:

* On most computer systems, localhost resolves to the IP address 127.0.0.1, which is the most commonly used IPv4 loopback address, **and to the IPv6 loopback address ::1** (source: <https://en.wikipedia.org/wiki/Localhost>)
* The resolution of the name localhost into one or more IP addresses is configured by the following lines in the operating system's hosts file:

```
127.0.0.1    localhost
::1          localhost

```
* to see your hosts file, go to `c:\Windows\System32\drivers\etc\HOSTS`
* notice the above lines are commented out with the note: `# localhost name resolution is handled within DNS itself.`

On my machine, on Win7, I also noticed the following:

* `localhost\phpmyadmin` did not work on Chrome, but worked on IE11
* `127.0.0.1\phpmyadmin` worked on Chrome