我想启用Windows 7上的本地主机,以便能够在没有远程服务器的情况下使用Chrome构建网站。我不想安装任何东西,例如,可以导航到http://localhost/something/somethingElse/index.html
。
有人知道吗?
为了在Windows 7上激活localhost服务器,请导航至:
-> Control Panel -> Programs and Features -> Turn Windows features on or off
然后搜索Internet信息服务并选中其复选框。
等待Windows进行更改,无需立即重新启动,服务器将被启用。
您现在可以导航到
127.0.0.1
或者
http://localhost
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句