java.net.PlainSocketImpl.connect(PlainSocketImpl.java:227)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
java.net.Socket.connect(Socket.java:539)
java.net.Socket.connect(Socket.java:488)
sun.net.NetworkClient.doConnect(NetworkClient.java:175)
sun.net.www.http.HttpClient.openServer(HttpClient.java:407)
sun.net.www.http.HttpClient.openServer(HttpClient.java:542)
com.ibm.net.ssl.www2.protocol.https.c.<init>(c.java:161)
.ibm.net.ssl.www2.protocol.https.c.a(c.java:73)
.ibm.net.ssl.www2.protocol.https.d.getNewHttpClient(d.java:2)
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:921)
com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:46)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1182)
com.ibm.net.ssl.www2.protocol.https.b.getInputStream(b.java:84) dna.common.SslConnection.connect(SslConnection.java:46)
原因:连接URL失败
解决方案:在访问URL的机器上telnet 一下要访问地址,看是否telnet通,telnet不到就要开放防火墙,运行访问。
如:telnet www.baidu.com 443
如果被防火墙拦截:则报“Temporary failure in name resolution”