Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Sharing a Website Upload the Website

Aishwarya Smridhi
Aishwarya Smridhi
2,239 Points

Connection refused. The connection attempt was rejected. The server may be down, or your network may not be properly con

Connection refused. The connection attempt was rejected. The server may be down, or your network may not be properly configured.

when i try to connect though SFTP using cyberduck it is giving me the above error. Could you help me out?

2 Answers

Sean T. Unwin
Sean T. Unwin
28,660 Points

Sounds like you could be using the wrong password or the wrong port.

  • Ensure you are using the password you used when creating the SSH key and not the normal FTP password.
  • Ensure you are using the correct port. You may have to refer to your hosting provider's documentation.

Keep in mind, as well, that some hosting providers will block an IP after too many failed connections. If that happens shoot them a quick email and they will unblock your IP address, providing you are the account holder.

Aishwarya Smridhi
Aishwarya Smridhi
2,239 Points

Thanks for your response Sean.

It was fixed when I used Transmit.