Skip to main content

loopback

Function loopback 

Source
pub fn loopback(port: u16) -> SocketAddr
Expand description

The bind address. Loopback only, and not configurable.

This process reads the operator’s filesystem and answers questions about it. Binding it to anything routable turns a local tool into an unauthenticated file-disclosure service on the network, and the one thing that reliably happens to a --bind flag is that somebody sets it to 0.0.0.0 to reach it from another machine. The port is configurable; the interface is not.