java.net.SocketException:连接超时:可能是由于 IBM AIX 上的地址无效
我在 IBM AIX 机器上遇到一个奇怪的问题。它在 Windows 和其他 UNIX 机器上运行良好。问题是:
Exception in thread "main" java.net.SocketException: Connection timed out:could be due to invalid address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
at java.net.Socket.connect(Socket.java:536)
at com.ibm.jsse2.jc.connect(jc.java:111)
at com.ibm.jsse2.jc.<init>(jc.java:359)
at com.ibm.jsse2.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:8)
at InstallCert.main(InstallCert.java:147)
我正在尝试连接到 wsk.op.fi
它的银行网站。 我正在使用 InstallCert
程序使用代理设置从 wsk.op.fi:443
下载证书。
同一程序在 Windows 和其他 unix 机器上运行良好。请帮我
I am facing one weird issue on IBM AIX machine. It's working fine on windows and other unix box. The issue is:
Exception in thread "main" java.net.SocketException: Connection timed out:could be due to invalid address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
at java.net.Socket.connect(Socket.java:536)
at com.ibm.jsse2.jc.connect(jc.java:111)
at com.ibm.jsse2.jc.<init>(jc.java:359)
at com.ibm.jsse2.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:8)
at InstallCert.main(InstallCert.java:147)
I am trying to connect to wsk.op.fi
it's bank site.
I am using InstallCert
program to dowload certificates from wsk.op.fi:443
using proxy setting
The same program works fine on windows and other unix box. Please help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论