Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Setting up Wamp Server in Windows 8. (Bonus – Windows 10)

Unable to run WAMP/XAMPP in Windows 10? Try this.

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.




This post first appeared on ARHAM – A Little Bit Of Everything…, please read the originial post: here

Share the post

Setting up Wamp Server in Windows 8. (Bonus – Windows 10)

×

Subscribe to Arham – A Little Bit Of Everything…

Get updates delivered right to your inbox!

Thank you for your subscription

×