0% found this document useful (0 votes)
104 views1 page

Wamp Server On Windows 8

WAMP Server crashes or forbids localhost access on Windows 8 due to a conflict between WAMP running on IPv4 and Windows 8 using IPv6 by default. To resolve this, the httpd.conf file must be edited to change the Listen port from 80 to 0.0.0.0:80, and the hosts file must comment out ::1 localhost and uncomment or add 127.0.0.1 localhost. Restarting WAMP Server after these changes fixes the issue.

Uploaded by

Mirko Mirkovic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views1 page

Wamp Server On Windows 8

WAMP Server crashes or forbids localhost access on Windows 8 due to a conflict between WAMP running on IPv4 and Windows 8 using IPv6 by default. To resolve this, the httpd.conf file must be edited to change the Listen port from 80 to 0.0.0.0:80, and the hosts file must comment out ::1 localhost and uncomment or add 127.0.0.1 localhost. Restarting WAMP Server after these changes fixes the issue.

Uploaded by

Mirko Mirkovic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Have you ever tried installing WAMP Server on your brand new Windows 8 ?

If you
have I am sure you have found WAMP crashing OR your
access to localhost has been forbidden.
The reason why it happens is IPV6. Windows 8 is by default an IPV6-first Operating
System. How? Well just go to command-prompt and run the command
ping localhost
You will be getting response from ::1 i.e. the loopback address for IPV6. When you
try to connect to the server it uses the port 80 along with IPV6 to locate it.
WAMP by default runs on IPV4 and it is not configured to run on IPV6. This creates a
conflict in the server configuration. What you should do is open the file
your-wamp-installation-folder\bin\apache\Apache2.2.21\conf\httpd.conf e.g.
C:\wamp\bin\apache\Apache2.2.21\conf (In my case)
Find a line that says Listen 80 and replace that with Listen 0.0.0.0:80
Go to your hosts file that is located at C:\Windows\System32\drivers\etc folder and
edit the file using Administrator Rights. Make sure the line ::1 localhost is
commented and 127.0.0.1 localhost is uncommented or add a line if it does not
exist.
Thats all. Restart WAMP Server and everything should work fine.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy