Currently it uses localhost unconditionally. Can switch it to `uname -n` if it is any better.