键入localhost时的Internet信息服务

时间:2016-04-02 18:35:59

标签: iis server localhost

我使用Windows 7

当我在浏览器中输入localhost或127.0.0.1时,会出现一个指向Internet Information Services的页面。

我甚至从活动的Windows功能中禁用了IIS,但它打开了同一页面。

如何将其更改为默认的localhost目录?

1 个答案:

答案 0 :(得分:1)

安装IIS或Visual Studio时,IIS登录页面将成为“localhost”的主页,

如果您尝试使用localhost for php或IIS以外的任何其他服务器,则需要禁用IIS或更改IIS端口。

编辑:
如果在禁用IIS后仍出现错误, 考虑更改Python服务器端口(localhost),

你可以通过运行它来实现,

$python manage.py runserver 127.0.0.1:8002

this might have your answer

Django link