IIS 6 在使用主机名时要求身份验证

发布于 2025-01-08 05:15:37 字数 536 浏览 6 评论 0原文

我们有一个网站,现在已添加 Windows 身份验证。现在,当我发布对服务器的更改时,IIS 要求进行身份验证,并且在尝试使用正确的凭据 3 次后,出现“未授权”错误。

如果我尝试使用本地主机从服务器内部访问该网站,它工作正常。如果使用 IP 地址而不是主机名进行远程访问,它也可以正常工作。

http://localhost/mysite 在服务器 EXSER002 中工作正常。 http://IPADDRESS/mysite 工作正常 http://EXSER002/mysite 身份验证失败。

该站点通常在 Windows 身份验证之前使用主机名。

甚至尝试从本地计算机 ping 到服务器,我可以 ping 主机名和 IP 地址。我收到的错误是:您无权查看此页面

We have a website to which we have now added Windows authenication. Now when I release my changes to the server,IIS asks for Authenication, and after trying with right credentials for 3 times, I get Not autorized error.

If I try to access the website from within the server using localhost, it works fine. It also works fine if accessed remotely using IP address instead of hostname.

http://localhost/mysite works fine from within the server EXSER002.
http://IPADDRESS/mysite works fine
http://EXSER002/mysite fails with authentication.

The site use to work with the hostname prior to Windows authentication.

Even tried ping from local machine to the server and I can ping both the hostname as well as the IP address. Error I get is: You are not authorized to view this page

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只是一片海 2025-01-15 05:15:37

你有代理吗?如果是这样,请确保本地地址的旁路已打开。

Do you have a proxy? If so, make sure that bypass is on for local addresses.

泪眸﹌ 2025-01-15 05:15:37

检查此链接。
http://support.microsoft.com/kb/896861
该问题是由于环回检查安全功能造成的。您需要更改注册表设置(如链接中所述)以消除身份验证失败。

Check this link.
http://support.microsoft.com/kb/896861 .
The issue occurs due to the loopback check security feature .you need to make registry setting changes (as mentioned in the link) to get rid of the authentication failures.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文