cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.ConnectException: Connection timed out

Former Member
0 Kudos

Hi Experts,

I am getting the below error for a FTP sender CC

Error occurred while connecting to the FTP server "IP address": java.net.ConnectException: Connection timed out

And I hav'nt mentioned the any value for Timeout parameter in the sender CC config, is that causing any problem.

As it is occuring in the Production, couldn't be able to play with it.

Please suggest how can I ping the FTP server from XI box and to rectify this issue.

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Experts,

After i have updated the CC config with the Time out parameter value to 10 secs, Data connection as Passive and Connection mode as Permanently .

It is giving the following error now

Error occurred while connecting to the FTP server "FTP address": java.net.ConnectException: Socket connection timed out:

Please suggest further to resolve the issue.

Thank you.

Former Member
0 Kudos

Hi

Run the report

RSFTP002 in XI

and chk whether the connection to FTP works.

giv params

user = <your ftp user>

pwd = <your ftp pwd>

host= <your ftp host/ip>

command1 = <ls>

RFC Dest = SAPFTP

Compress = N

For checking frm unix promt..login using any client tools(putty.exe)...and execute the ftp commands.

rgds,

Arun

Former Member
0 Kudos

Hi,

run T-code SM49

there you will find PING click on that

That will ask you the Additional Parameter.

fill the FTP address there and Execute that.It will show the packet loss and other data.

If 0% loss of data then FTP is reachable.

if not reachable then contact FTP vendor.

also check the FTP port by telnet as Telnet <FTP server> <port number>.

Also put some timeout in setting of the communication channel.

if problem not solved then contact the FTP vendor to rectify that.

******Rewards points if useful

Regards,

Sumit Gupta

Former Member
0 Kudos

Hi Sumit,

after giving below details with PING in SM49,

Adittional parameter: <IP_address>

Target host: <FTP server host name>

It shows below message:

Command executed: ping : -c 4 : <FTP address>

Target host: <FTP host name>

Exception raised: PROGRAM_START_ERROR

And also I mentioned Time out parmater value = 10 secs in the CC config

Please suggest further to resolve the issue.

Thank you.

Former Member
0 Kudos

Hi,

Check whether the FTP Site is accessible from your XI Server OS level.

You can use the the FTP commands.

Which is your XI Server OS ??

try FTP <hostname> ...followed by userid / pwd (ftp server).

after connecting try to read/write/move files.

using get, put and rename ftp commands..

Use the xi installation OS user for this purpose .

If this works problem is due to incorrect channel parameters.

Also in the channel try giving the absolute path of the ftp folder.

rgds,

Arun

Former Member
0 Kudos

Hi Arun,

It is Unix OS.

can you please suggest how can i access XI server OS to ping the FTP server.

Thank you.

Former Member
0 Kudos

hi

please check the note Note 791379 - XI Adapter service properties documentation

it has the description of the adapter propeties