Ice.ConnectFailedException error = 0 at IceInternal.ConnectRequestHandler.getConnection(ConnectRequestHandler.java:244) at IceInternal.ConnectRequestHandler.sendRequest(ConnectRequestHandler.java:141) at IceInternal.Outgoing.invoke(Outgoing.java:77) at Ice._ObjectDelM.ice_isA(_ObjectDelM.java:33) at Ice.ObjectPrxHelperBase.ice_isA(ObjectPrxHelperBase.java:98) at Ice.ObjectPrxHelperBase.ice_isA(ObjectPrxHelperBase.java:61) at PrinterInterface.PrinterPrxHelper.checkedCast(PrinterPrxHelper.java:140) at client.Client.main(Client.java:15) Caused by: java.net.ConnectException: Connection timed out: no further information at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) at IceInternal.Network.doFinishConnect(Network.java:367) at IceInternal.TcpTransceiver.initialize(TcpTransceiver.java:33) at Ice.ConnectionI.initialize(ConnectionI.java:1933) at Ice.ConnectionI.message(ConnectionI.java:1084) at IceInternal.ThreadPool.run(ThreadPool.java:321) at IceInternal.ThreadPool.access$300(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693) at java.lang.Thread.run(Unknown Source)
配置文件不正确,必须要把配置文件配置好,各个类的端口号和代码必须配置一致,该启动先启动
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。