我在 Windows 2016 Nano 服务器中托管的 IIS 中运行了一个 web 服务。如果我通过,我可以很好地访问该服务http://servername/service/health
但是,如果我通过http://[IP Address here]/service/health
或访问它http://service.company.com/service/health
,它会提示输入 AD 登录凭据。
我查看了 DNS 记录和 IIS ApplicationHost.config,我真的不知道它有什么问题。我可能错过了一两个设置。任何人都可以弄清楚在哪里看或做什么?