What causes the error - java.net.UnknownHostException
<p>What are the steps I should take to solve the error -</p>

<pre><code>  java.net.UnknownHostException: Invalid hostname for server: local
</code></pre>
