IIS 7 and Above
Windows 10 IIS works with IP, but not localhost (resolved to IPv6)
Last post Mar 08, 2021 07:59 AM by Brucz
Mar 05, 2021 08:43 PM|Inzi|LINK
In troubleshooting - I completely removed IIS, purged inetpub folder, then re-added the IIS feature with default settings.
Using MS Edge
In address bar, entering localhost returns 503 service unavailable.
In address bar, entering https://localhost returns
the iisstart page (blue page, "Internet Information Services")
In address bar, entering 127.0.0.1 returns the iisstart page (blue page, "Internet Information Services")
In address bar, entering [::1] returns the iisstart page (blue page, "Internet Information Services")
At command prompt - ping localhost resolves to ::1 (IPv6)
In hosts file, 127.0.0.1 localhost is the only uncommented entry.
The only resolution I've found for this is to edit my site's bindings, and add localhost for all unassigned on port 80.
Does anyone have an explanation why my local IIS server requires adding localhost for http as a host name in order for this to work?
Mar 06, 2021 12:43 AM|lextm|LINK
The browser can hide away too many details. Can you try to use a tool like Fiddler Composer?
Composer | Progress Telerik Fiddler Everywhere
That should give you more insights into the site bindings and what URLs are served by the bindings.
Mar 08, 2021 07:59 AM|Brucz|LINK
What is the identity of application pool and what is the user identity of anonymous authentication? If the identity of anonymous authentication is wrong or outdata, IIS will also return 503.