বুধবার, ১৩ ফেব্রুয়ারী, ২০১৩

Wamp Server install on Windows 8-ওয়াম্প সার্ভার ইনস্টল অন উইন্ডোস ৮

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.

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন