Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Connected to

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?

share|improve this question
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 – fabjoa Feb 23 '11 at 0:13
@Aaron I've tried with 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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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