Sniff attempts to select a sensible default bind string by examining its environment. It examines the GOJI_BIND environment variable, Einhorn, systemd, and the PORT environment variable, in that order, selecting the first plausible option. It returns the empty string if no sensible default could be extracted from the environment.

Sniff is referenced in 3 repositories