Close
jGuru Forums
Posted By: Gurunath_kumbar Posted On: Thursday, December 16, 2004 06:58 AM
hi all i am working on FTP program using java while connecting to the remote server i have got the java.net.ConnectException: Connection timed out error pls anyone will help me in solving this problem. i have got the edtFTPj API and i am working using this it works fine when i connect to our localserver but it is giving the following error when i am connecting to the other remote servers. the complete error is as shown below java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket. (Socket.java:309) at java.net.Socket. (Socket.java:153) at pack.ftp.FTPControlSocket. (FTPControlSocket.java:111) at pack.ftp.FTPClient. (FTPClient.java:354) at pack.ftp.FTPClient. (FTPClient.java:288) at pack.ftp.FTPClient. (FTPClient.java:258) at pack.ftp.Demo.main(Demo.java:54) pls help me to solve this error with regards Gurunath
Re: Help me to solve this error java.net.ConnectException: Connection timed out
Posted By: ofer_zinger Posted On: Thursday, December 16, 2004 07:13 AM