Super User is a question and answer site for computer enthusiasts and power users. 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 Get message Connection refused when trying to connect to other computer in network.

My System Ubuntu:

computer1 ip:

computer2 ip:

computer1 shell:

$ ftp
ftp> open
ftp: connect: Connection refused

How can I solve this problem?


share|improve this question
please show us the iptables rules of the pcs and the output of netstat -lnt on the ftp serving pc – matthias krull Jun 30 '10 at 8:26
up vote 2 down vote accepted

This could be a number of things.

  • Your router could be configured to not allow cross network connections.
    • Check your router settings.
  • Your receiving computer could have a firewall that is blocking this request.
    • Check in the /var/logs/ directory for security iptables or ufw logs.
  • Your sending computer could have a firewall blocking the request out.
  • Your ftpd could be configured on a different port?
share|improve this answer
Thanks,which commands should i do inj shell to check options that you write? – Yosef Jun 30 '10 at 5:05

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.