[Planetlab-users] 'java.net.ConnectException: Connection timed out' Exception- Please Help

Parul Halwe parul at cse.iitb.ac.in
Wed Sep 20 09:43:48 EDT 2006


Hello All,
 	I am developing a java application that requires exchange of 
data and control packets between different nodes. Initially the data sources are able to send the 
packets sucessfully, but after some time the source is unable to send any 
packet and gives the following exception:

java.net.ConnectException: Connection timed out
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at OutputQueue.run(OutputQueue.java:125)

What could be the reason behind this. Is it a bug in my code or can it be 
some network problem. Please help me if anyone has any idea why this could 
be happening and what are the possible solutions to this.

Thanks and Regards,
  Parul Halwe

-- 
Parul Halwe
M.Tech - 2nd Year
Computer Science and Engg. deptt.
IIT Bombay



More information about the Users mailing list