pub fn is_loopback_host(host: &str) -> boolExpand description
True if host refers to a loopback interface (or localhost).
Used to decide whether running without an auth token is safe: loopback binds are only reachable from the local machine, non-loopback binds are not.