@flyingsquirrel @mhoye second'ing this: hostname -I (capital I) will give you the non-loopback addr (or addrs, if the machine has multiple)