Php – http://localhost/ not working on Windows 7. What’s the problem

localhostnetbeansPHPwampwindows 7

I have a big problem opening http://localhost/ on Windows 7 (beta). I installed this os and everything went great; when I installed Wamp I saw that localhost is not working at all. I just see this error:

Failed to Connect

Firefox can't establish a connection to the server at localhost.

in Mozilla and Explorer.

I removed Wamp and after some weeks (that means two weeks from today) I installed NetBeans on Windows 7. I created a test PHP script and when I debug it, I get the same error again. I tried to access it with ip 127…. but still the same. What is the problem?
When i installed NetBeans I installed it in port 8080.

Best Answer

If you installed it on port 8080, you need to access it on port 8080:

http://localhost:8080 or http://127.0.0.1:8080