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

后端 未结 22 1879
眼角桃花
眼角桃花 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:44

    To fix the port 80 problem do:

    From cmd as administrator:

    1. sc config http start= demand (you need a space after the equal sign and not before)
    2. Reboot
    3. Run the command (netsh http show servicestate) as administrator to check that the port 80 is in use

    After you have run this command, you can disable http.sys as follows:

    1. net stop http (stop the process)
    2. Sc config http start= disabled (if you want to disable the service forever)

    it works for me.

提交回复
热议问题