pub fn is_loopback_host(host: &str) -> bool
Is host a loopback address (or the localhost name)? Anything else — a LAN address, or the 0.0.0.0 / :: wildcards — publishes the app’s data beyond this machine.
host
localhost
0.0.0.0
::