cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver FTP error : java.net.ConnectException: Connection refused

santosh_k3
Active Participant
0 Kudos

Hi All,

My scenario is File(NFS)->XI-->File(FTP)

From sender side the file has been picked up

Mapping is processed successfully

I see the message as check flag in the MONI.

The file is not placed in FTP

But i have an error in RWB in Message Monitoring--->Aduit Log

Error:

Attempt to process file failed with java.net.ConnectException: Connection refused

I have configured all FTP parameters correctly

I tried with Anonymous login and with username and password

Connection mode : Permanently

I did ping the server using Command prompt , Its fine

Connection is good

Firewall is there in between the servers.

Is the issue related to Basis guy?

What are questions need to be asked to basis guy to solve the error?

What parameters and measures need to be taken if Firewall exists?

Thanks

Sai

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi ,

This is purely Firewall Isse, The receiver System's Firewall is rejecting the hand shake . To confirm this ask your BASIS team to do telnet from XI/PI to Receiver FTP MAchine . If they are not allowed to connect thru telnet then you should contact FTP Receiver owner to maintain your XI/PI Ip and Port in their Firewal Rule. If they succeeded in telnet then its fault with your Configuraiton of CC.

santosh_k3
Active Participant
0 Kudos

Hi All,

When i spoke to the basis guy to telnet the FTP machine

he said that it was not allowed.

and he told to use sh to connect.

i think sh in nothing but Shell script right?

as the server is running on UNIX,

Is it possible to connect to the FTP machine which is out of Firewall through shell script?

Whether the Shell script should be written by XI consultant or by the unix programmers?

Can anyone share me the process how to write a shell script

for my scenario in order to connect to FTP machine which is out of Firewall.

Thanks

Sai.

Former Member
0 Kudos

Please change the connection mode from Permanent to Per File Transfer and check.

Regards,

Indranil

<REMOVED BY MODERATOR>

DON'T ASK FOR POINTS - READ RULES OF ENGAGEMENT OF FORUM.

Edited by: Aashish Sinha on Sep 20, 2011 9:48 AM

Former Member
0 Kudos

hi,

try to open the ftp folder in a browser

give ftp://<ip>:<port> and see if it opens.

regards,

ridhima

santosh_k3
Active Participant
0 Kudos

Hi Ridhima,

I tried to open but the Ftp folder is not opened,

I tried with the Per FileTransfer but no result

Is there any other issues

Thanks

Sai

aashish_sinha
Active Contributor
0 Kudos

Hi Sai,

Remove Anonymous login check box and try using OS level user name and password. If still you facing any problem related with connection, ask basis to open connection for you.

Regards

Aashish Sinha

Former Member
0 Kudos

Sai

 I tried to open but the Ftp folder is not opened,

Its a firewall issue. You won't be able to connect with this. Pleasse contact the Basis and FTP system guys to help you out.

Regards

Raj

Former Member
0 Kudos

I agree with Raj.

If you want to perform another test, try from PI System to connect to FTPServer with classic:

ftp <hostname>

If it doesn't run fine, probably there're some network issues (firewall or port).

Former Member
0 Kudos

Hi Sai,

Seems like a firewall issue, check with network team, once they open the firewall, check again by opening in browser, if it opens then the firewall issue has been resolved, also u can check whether the ftp server is up with this method.

Regards

Ridhima

naveen_chichili
Active Contributor
0 Kudos

Hi SAI,

This is a Firewall issue check with your concerned network/Basis team they would be able to help you to resolve this issue.

Regards,

Naveen

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Talk to Basis. I still see some firewall issue. Check whether port is opened for doing FTP.