Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I Get message Connection refused when trying to connect to other computer in network.

My System Ubuntu:

computer1 ip: 10.0.0.1

computer2 ip: 10.0.0.2

computer1 shell:

$ ftp
ftp> open 10.0.0.2
ftp: connect: Connection refused

How can I solve this problem?

Thanks

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

1 Answer 1

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

 
discard

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.