disambiguate to location when no IPs can be determined

previously, fallback was to localhost, which could often be wrong.

closes #5485