简体   繁体   中英

I can access website with server name, but with ip address system prompting i need to give username and password.

I have setup a test enviorment on server and there are few websites running on IIS.

Website security settings are set to 'integrated windows authentication' and anonymous access is unchecked.

When i access the website with the server name then it works fine but if i use an ip address instead then system prompting username password window.

Why system is prompting username password window?

How can i access a site with ip address and server name?

Assuming that you are using Internet explorer, when there is a period in the URL it thinks that its an external address and will not pass on the credentials. So an IP address such as '10.1.1.1' will be treated as an external address, and as for an address like 'myhost' it thinks its an internal address and pass on credentials

Have a look at this KB:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM