Unknown Host Exception

In some cases, an unknown host exception error may occur if the machine name cannot be found (e.g. the host machine cannot resolve its own host name).

For example, this error can occur if the machine is not listed in its own /etc/hosts file, which can prevent the DNS server from resolving it.

This error can be remedied by adding the host's name to the /etc/hosts file, by using either 127.0.0.1 or the machine's actual IP address.