Posts by Allan • 66 points
1 post
-
5
votes2
answers21001
viewsA: How to resolve java.net.Unknownhostexception error
This error occurs because the resolution of Java domain names is wanting the host name. To resolve use: HostnameVerifier hv = new HostnameVerifier() { public boolean verify(String hostname,…