I am using "org.apache.commons.net.ftp.FTPClient" jar file to upload the files in FTP server.I tested standalone java application in my local system its working fine and files are placed in FTP server also. But in production its not working. When run command prompt with same FTP user name and password in production,it connects FTP server and places the files FTP also . But when run my standalone application connection is created succesfully but when transfer the file
"connection refused","java.net.connect Exception " is comming on following line.