http://localhost/ not working on Windows 7. What's the problem?

后端 未结 22 1788
眼角桃花
眼角桃花 2020-12-03 01:07

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

相关标签:
22条回答
  • 2020-12-03 01:49

    you have to install the service, go to wamp->Apache->Service->Install service, then a command prompt window will pop up, then press enter, and after a few seconds go to the same route Services-> and click Start/Resume service, and you ready

    0 讨论(0)
  • 2020-12-03 01:53

    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

    0 讨论(0)
  • 2020-12-03 01:53

    Uncommenting the following line in host file worked for me,

    #127.0.0.1 localhost
    
    0 讨论(0)
  • 2020-12-03 01:53

    Yea, this was a pain for me as well.

    So what i did was find the "Start Wampserver", just hit the start button and type it in.

    Then right click on it , select properties. I set it to run in XP servive pack 3 on the capatability tab. I also checked the box "Run this program as an administrator".

    Then I right clicked the WAMPSERVER on the System Tray, and re-started all services. This worked perfect for me, hope this will help you as well.

    Rob

    0 讨论(0)
  • 2020-12-03 01:53

    Try adding the following tags in the wwwroot folder web.config file. These tags should be added as a child of the configuration tags as below.

    -configuration-
    --system.webServer--
    ---validation validateIntegratedModeConfiguration="false" ---
    --/system.webServer--
    -/configuration-
    
    0 讨论(0)
  • 2020-12-03 01:53

    Assuming there is no problem doing a lookup on localhost (to 127.0.0.1), you need to make sure your server is listening to 127.0.0.1.

    netstat works in both windows an UNIX. You probably need "netstat -a" to display listeners.

    0 讨论(0)
提交回复
热议问题