Jo *_*ina 21 windows http localhost
我想在Windows 7上启用localhost,以便能够在没有远程服务器的情况下使用Chrome构建网站.我想不安装任何东西,并且能够,例如,导航到http://localhost/something/somethingElse/index.html.
谁知道怎么样?
Jo *_*ina 35
要在Windows 7上激活localhost服务器,请导航至:
-> Control Panel -> Programs and Features -> Turn Windows features on or off
Run Code Online (Sandbox Code Playgroud)
然后搜索Internet信息服务并选中其复选框.
等待Windows进行更改,无需立即重启,服务器将启用.
您现在可以导航到
127.0.0.1
Run Code Online (Sandbox Code Playgroud)
要么
http://localhost
Run Code Online (Sandbox Code Playgroud)