8/30/2010

Fixing XAMPP localhost in Windows 7

While working with reCaptcha on localhost in Windows 7 64 bit, I faced a problem that I couldn't get the correct localhost IP. It came with ::1: and reCaptcha couldn't check whether entered value was valid or not. Here is the solution:
  1. Open C:\Windows\System32\drivers\etc\host in a text editor such as Notepad.
  2. Remove # before 127.0.0.1 localhost
  3. Remove line: # ::1: localhost
  4. Save and you're done.
Source: Haqqi

No comments:

Post a Comment

The 0/1 Knapsack Problem - Dynamic Programming

 References: https://www.youtube.com/watch?v=EH6h7WA7sDw  Class Item class Item { private $_weight; private $_value; public functi...