I am trying to connect to a public FTP server that allows anonymous connexions. The server is fr2.rpmfind.net and it works from my terminal

ftp fr2.rpmfind.net
Connected to mandril.creatis.insa-lyon.fr.

Now I have another terminal with SSH to a remote machine and for the same command this is what I get:

ftp: connect: Connection refused

How can I get a connection refused if FTP server allows anonymous connexions?

  • 1
    The second host could be filtering FTP. Can you connect to any other FTP service from that host? – Aaron Copley Feb 23 '11 at 0:07
  • Are you trying to connect using SSH from the SSH terminal? – joeqwerty Feb 23 '11 at 0:07
  • i'm trying to connect using ftp just entering ftp fr2.rmpfind.net – fabjoa Feb 23 '11 at 0:13
  • @Aaron I've tried with ftp.mozilla.org and got the same Connection refused message – fabjoa Feb 23 '11 at 0:15
  • Gotcha. Could it be that the FTP server is blocking connections from the ip address of the SSH terminal? – joeqwerty Feb 23 '11 at 0:15

Try running a traceroute to the server from both site, checking to see if a router is blocking your connection at some point along the route.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.