Why does my FTP fail to connect? | HostGator Support
  1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Why does my FTP fail to connect?

Why does my FTP fail to connect?

 

If your FTP program is not connecting properly, here are some possible reasons:

  1. Your firewall could be blocking it.
  2. Ensure you have the IP address in your welcome email for hostname (only the numbers; don't add FTP, www, or anything else).
  3. Make sure your username and password are the same as your control panel username and password.
  4. Some FTP programs require a path to connect. Your path would be /home/YOURUSERNAME/public_html

How to fix common connection issues

Too many simultaneous connections

The maximum number of connections from one IP is 8. Here are some helpful guides you can use to dive into the details.

A firewall, antivirus, or similar program is blocking the connection

Be sure to check your PC’s firewall and antivirus settings. Ensure common FTP ports such as 21 and 22 are open for connections and are not blocked.

Use an FTP Hostname Prefix

If you use SiteLock for your site, you may need to add ftp. before your FTP hostname in for the connection to succeed.

HostGator SiteLock is your cyber sentry! Block the bad guys and be a security superhero! SiteLock. provides automated malware removal, protects your brand's reputation, and defends your site from malicious attacks. Take advantage of these awesome features now!

Change the default FTP port from 21 to 22

If the server configuration requires an SFTP connection, changing the port number in FTP client software from 21 to 22 should resolve the issue.

Set the transfer mode

You may experience connectivity issues with Active Mode, and switching to Passive can resolve the connection.

If you have any issues with connecting with FTP, please contact us via phone or chat so we can assist you.