Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

Ryan Corrigan
Ryan Corrigan
6,417 Points

Connection failed, what am I doing incorrectly?

I have followed Nicks steps exactly in addition to using all the same sites as he has such as Namecheap and Webhostingforstudents to make my purchases. I confirmed that my domain name does work when I type it in (without uploading any of the website files). After downloading and installing cyberduck I have followed the instructions exactly as Nick explained and have verified I am using SFTP SSH File Transfer Protocol, the correct server name that was emailed to me, the correct port number of 18765 that was emailed, the correct username and password. Have tried like 5 times but just keep getting connection failed. What could I be doing wrong? Please help.

3 Answers

you could try just plain old FTP in cyberduck on your_host_domain_name and port 22 using the same username and password suppied to you.

alternatively it may be the C-panel login you have been given and in which case you muct login to the domain's Cpanel and set up a FTP user for the domain and then use the newly created login details to FTP in.

If neither of those two bring joy then contact support at hosting company they'll know whats up with details you been given.

sometimes with new registrations it takes a little while for the server to propagate the changes of hosting a new domain, especially if you only just registered today. good luck :)

Ryan Corrigan
Ryan Corrigan
6,417 Points

Thanks for the response Jake. I gave it a day and it worked following Nick's steps, phew. Good to know there are alternatives though. Much appreciated.

G Roberts
G Roberts
3,342 Points

Im having the same failed connection issue any advice would be appreciated! Thanks in advance. Gavin

Gavin please give us a little more info to go on.....Context is key as there are a million ways to not-connect to a server :)

Most of the time its some small oversight, like instead of www.mysite.com you should be pointing to ftp.mysite.com there are also ways of connecting directly through the ftp://www.my,,, protocol instead of http://www.my.... there are others like ssh as well.

So if you're sure the address is correct and the domain name is active and you have been given ftp account details (which are usually different to your original account registration details), then check port numbers and address in use in your ftp software

If still no luck then let us know what you have tried and we'll try help/advise you as best we can