title: InetSocketAddress for localhost
body: <p>When I tried executing the code <code>new InetSocketAddress(&quot;localhost&quot;, 3000);</code> in java 13, the host is being resolved to <code>localhost/127.0.0.1:3000</code> instead of resolving to <code>localhost:3000</code>.</p>
  <p>Any idea why it is being resolved with the IP address of localhost (i.e. 127.0.0.1) along with the <code>localhost</code> in the host address?<br />
  Because of this issue, I am not able to connect to the desired server and resulting to an UnknownHostException in java.</p>