I've seen similar questions, but couldn't find any answers for my problem.
I'm using Windows 7 and Wamp for website development, and it was working fine until a couple of days ago. Now it won't let me connect to localhost or 127.0.0.1. My hosts file was missing, so I made a new one with the line "127.0.0.1 localhost".
I'm able to ping localhost and 127.0.0.1 no problem. I used netstat and confirmed that Wamp is using port 80. Wamp says it's online. I have this error message in my Apache error log:
(OS 10038)An operation was attempted on something that is not a socket. : winnt_accept: getsockname error on listening socket, is IPv6 available?