• MangoPenguin
    link
    fedilink
    English
    arrow-up
    20
    ·
    12 hours ago

    I didn’t even realize 0.0.0.0 was a valid address to enter into a browser! TIL.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      25
      ·
      12 hours ago

      On Linux it is just a catch all address (listen on all interfaces)

      Elsewhere it doesn’t do anything since I don’t believe it is part of the networking standards

      • MangoPenguin
        link
        fedilink
        English
        arrow-up
        11
        ·
        12 hours ago

        Yeah I’m familiar with that part, I just meant in context of a browser being able to connect to it.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          52 minutes ago

          If I were implementing it, I’d just list all interfaces on the machine and see if there’s a service bound to it on the given port. There’s probably only one, but it’s technically undefined behavior I think.