browserlocalhost

What's special about localhost for browsers?


As far as I know, browsers treat localhost and other domains differently. Like, not everything works on localhost. Do you know what specifically is different? What does "localhost" means in this context? Anything that resolves to 127.0.0.0/8? What about port/scheme?


Solution

  • According to the following article the special things about localhost are:

    And "localhost" in this context means localhost and subdomains, with or without a custom port.