locked
Windows 10 IIS works with IP, but not localhost (resolved to IPv6) RRS feed

  • Question

  • User1115464520 posted

    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?

    Friday, March 5, 2021 8:43 PM

All replies

  • User690216013 posted

    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.

    Saturday, March 6, 2021 12:43 AM
  • User1771714573 posted

    Hi Inzi,

    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.

    Best regards,

    Brucz

    Monday, March 8, 2021 7:59 AM