cancel
Showing results for 
Search instead for 
Did you mean: 

Error while connecting to the FTP server

Former Member
0 Kudos

Hi All,

Iam getting the following error while connecting to FTP server .

Can some one help me.

Very urgent.

Actual error

Error occurred while connecting to the FTP server "10.132.54.8:21": java.net.ConnectException: Connection refused: connect

Regards,

Jeevan.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Answered

former_member1231563
Participant
0 Kudos

Hi jeevan,

Can you please let me know how?

Thanks,

Praveen.

Former Member
0 Kudos

Hi,

First have to check server is working or not.

Check like this in your mechine click on START->RUN->CMD. the command prompt will display then enter the command like this ping IP address of the server ex >ping 192.168.1.98. then it should be display like this reply from 192.168.1.98 . If it is display the above then server is up and running.

If it is up and running then you can connet to the server. here you need to enter appropriate username and password.

Thanks,

Satish.

Former Member
0 Kudos

Also check on which port your ftp server is pinging is it 21 or 22 or something else.

Use anonymous login as well.

Most of the cases this error occurs when any firewall is acting in between. Check that also.

Rewards if helpful.

BR,

Kasturika

Former Member
0 Kudos

Follow the above steps recommended by Chirag.

Try to use File Zilla for easy monitoring.

Regards,

Srini

Former Member
0 Kudos

hi,

Check u r ID address is correct with out any space...

check ur Passowords

consult u r basis team if it not worked

Pls award points

Former Member
0 Kudos

Hi,

check:

1) pint the ip address from command prompt it should pint to the target ip address.

2) check the FTp ip address in the communication channel try to use only 10.132.54.8.

3) check the loginid and password in comm channel.

4) Check is there any firwall installed in between.

thnx

Chirag

Former Member
0 Kudos

Hi Chirag Gohil,

I have done all that you have told me to do.

Even then the same error is persisting.

Only thing I have to check is, Any fire wall are tehre.

Pls help.

Regards,

Jeevan.

prateek
Active Contributor
0 Kudos

Only thing I have to check is, Any fire wall are tehre.

Please check it. This is one of the most usual cause of the problem

Regards,

Prateek

Former Member
0 Kudos

Hi Jeevan,

You can check whether port is open for your server using telnet command.

Just type following command and press enter, in case of successfull connection it should give you a blank screen or some message from ftp server.

telnet 10.132.54.8 21

If it is giving error like this "A remote host refused an attempted connect operation." then it could be due to port not open for the server.

hope this will help.

-Pinkle