java.nio.channels.UnresolvedAddressException is coming while accessing JAVA web service
<p>I have developed a JAVA web service and deployed it on my local apache server, it is running on port 7090, but while accessing my web service end point</p>

<p><a href="http://localhost:7090/information_service/getAllStudents/" rel="nofollow">http://localhost:7090/information_service/getAllStudents/</a></p>

<p>either through POSTMAN or in terminal through CURL command or using JAVA web client it is always giving 500 internal server error with response as follows:</p>

<pre><code>&lt;ns1:XMLFault xmlns:ns1="http://cxf.apache.org/bindings/xformat"&gt; 
&lt;ns1:faultstringxmlns:ns1="http://cxf.apache.org/bindings/xformat"&gt;
   java.nio.channels.UnresolvedAddressException
&lt;/ns1:faultstring&gt;&lt;/ns1:XMLFault&gt;
</code></pre>

<p>I have tested network reachability for port 7090 of my machine with telnet, it is working properly. So I think it is not a connectivity issue. I am stuck, getting no clue why the issue is coming and how to solve it.</p>