加入收藏 | 设为首页 | 会员中心 | 我要投稿 孝感站长网 (https://www.0712zz.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

当使用主机名访问时,IIS要求登录/传递,但在使用“localhost”时

发布时间:2021-02-04 13:26:33 所属栏目:Windows 来源:网络整理
导读:我在我的xp机器上设置了IIS,并设置了默认主页(安装了IIS).这是我认为的帮助页面. 当我使用http://localhost访问页面时它工作正常(IE / Chrome或FF),但是当我使用http://hostname访问它时,它会提示输入登录/密码,并且当我在Intranet上输入我的域ID和密码时可

我在我的xp机器上设置了IIS,并设置了默认主页(安装了IIS).这是我认为的帮助页面.

当我使用http://localhost访问页面时它工作正常(IE / Chrome或FF),但是当我使用http://hostname访问它时,它会提示输入登录/密码,并且当我在Intranet上输入我的域ID和密码时可以正常工作.

我确保在默认站点和“网站”节点的属性窗口中启用“匿名访问”.

我搜索了堆栈溢出类似的查询但有些表明我需要更改IE / FF设置以允许“集成安全性”等,有些人建议查看“日志文件”.

我不想更改IE设置,IIS服务器的日志文件中没有任何异常.

任何人都可以帮我弄清楚为什么会这样吗?

谢谢
SB

您应该查看IIS保护的配置.

虽然您似乎要连接到同一系统,但是使用IIS服务器上的浏览器中的“localhost”,您将连接到127.0.0.1.

当您从另一个系统连接到http://hostname URL时,您将连接到系统外部IP地址.

1.
The client requests a resource on the server.

2.
The IP address of the client is checked against any IP address restrictions in IIS. If the IP address is denied access,the request fails,and a 403 Access Forbidden message is returned to the user.

3.
The server,if configured to require it,requests authentication information from the client. The browser either prompts the user for a user name and password or offers this information automatically.

Access Control in IIS 6.0 (IIS 6.0)

(编辑:孝感站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读