There is no guarantee that a machine's hostname can get translated to an IP address (although usually that works). Furthermore, even when it works, you normally get a single address, which can be 127.0.0.1. As filed, this bug is invalid. I can see how it would be nice to provide an API to enumerate all IP addresses of the host, but that doesn't currently exist and is a different issue. (Why does your machine not have an entry for your hostname in /etc/hosts?)
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
The /etc/hosts question was assuming you're on Linux, though maybe that was wrong - the user-agent disagrees with the os field?
fwiw, Mac OS X also has (and uses) an /etc/hosts.
You need to log in before you can comment on or make changes to this bug.