aspose file tools*
The moose likes Servlets and the fly likes SFTP on Tomcat gives Connection timed out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SFTP on Tomcat gives Connection timed out" Watch "SFTP on Tomcat gives Connection timed out" New topic
Author

SFTP on Tomcat gives Connection timed out

Sajee Joseph
Ranch Hand

Joined: Jan 17, 2001
Posts: 200
Hello all,

I have used Maverick SFTP to establish an SFTP connection to a server and it works fine as a java standalone application. But when i put the same code on my servlet, deployed on Tomcat 4.1.29 & try the SFTP connection, it says Connection timed out. What is the reason? How do i resolve this?

Regards,
Saj
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SFTP on Tomcat gives Connection timed out