Please use code tag, which make every one's eye happy.
//IPAddress server(74,125,232,128); Â // numeric IP for Google (no DNS)
//char server[] = "www.google.com"; Â Â // name address for Google (using DNS)
IPAddress server(192,168,42,2);
// Set the static IP address to use if the DHCP fails to assign
IPAddress ip(192,168,42,177);
"192.168.42.2" or something like that is your web server ip address. "127.0.0.1" - Localhost IP Address is Arduino itself localhost address. Most case "192.168.42.1" is router ip address.
What is the actual ip assigned to the WAMP server interface?
Is it connecting and not working, or not connecting? The most common problem with this setup is the Windows firewall. Insure you allow port 80 through the firewall on the WAMP server.