Hi!
I'm trying to run helloworld demo with client in my friend's house and server in my work. But I didn't receive the client message, and client receive this error:
Ice.ConnectFailedException
error = 0
at IceInternal.ConnectRequestHandler.getConnection(Co nnectRequestHandler.java:240)
at IceInternal.ConnectRequestHandler.sendRequest(Conn ectRequestHandler.java:138)
at IceInternal.Outgoing.invoke(Outgoing.java:66)
at Ice._ObjectDelM.ice_isA(_ObjectDelM.java:30)
at Ice.ObjectPrxHelperBase.ice_isA(ObjectPrxHelperBas e.java:111)
at Ice.ObjectPrxHelperBase.ice_isA(ObjectPrxHelperBas e.java:77)
at Demo.PrinterPrxHelper.checkedCast(PrinterPrxHelper .java:248)
at ClientTwo.main(ClientTwo.java:11)
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:3 25)
at IceInternal.TcpTransceiver.initialize(TcpTransceiv er.java:33)
at Ice.ConnectionI.initialize(ConnectionI.java:1831)
at Ice.ConnectionI.message(ConnectionI.java:1038)
at IceInternal.ThreadPool.run(ThreadPool.java:302)
at IceInternal.ThreadPool.access$300(ThreadPool.java: 12)
at IceInternal.ThreadPool$EventHandlerThread.run(Thre adPool.java:643)
at java.lang.Thread.run(Unknown Source)
Both machines ping fine. Firewall is off. What can I do?
Server side :
C:\Documents and Settings\M*****\Desktop\ZeroC test\bin>java -classpath .;./Ic
e.jar Server --Ice.Trace.Network=2
-- 28/09/11 11:20:48:758 Network: attempting to bind to tcp socket 0.0.0.0:10000
-- 28/09/11 11:20:48:758 Network: accepting tcp connections at 0.0.0.0:10000
local interfaces: 150.162.64.153, 127.0.0.1
-- 28/09/11 11:20:48:758 Network: published endpoints for object adapter `Simple
PrinterAdapter':
tcp -h 150.162.64.153 -p 10000

Reply With Quote
