πŸ“„
Webhosting

FTP connection failed: causes and solutions

πŸ“… 16 October 2026 ✏️ 16 October 2026 ⏱ 4 min leestijd

FTP connection not working? Discover the most common causes of failed FTP connections and solve the problem yourself, step by step.

A failed FTP connection is one of the most common problems when managing a website. Usually the problem lies in incorrect login credentials, a blocked port, a firewall blocking the connection, or an incorrect connection mode in your FTP program. In this article you’ll systematically go through all possible causes, so you can quickly get back to uploading and managing files.

Common error messages and what they mean

When a connection fails, you usually get a specific error message in your FTP program, such as FileZilla or WinSCP. This message already provides an important clue about the cause.

  • Connection timed out: the server doesn’t respond within the expected time. Often due to a firewall, incorrect port number, or incorrect server name.
  • 530 Login authentication failed: username or password is incorrect, or the FTP account no longer exists.
  • 425 Can’t open data connection: problem with the connection mode (active versus passive), often caused by a router or firewall.
  • Connection refused: the server refuses the connection, for example because the FTP service is disabled or your IP address is blocked.

Checking your FTP connection step by step

Go through the steps below in order. In most cases you’ll find the problem within the first three steps.

1

Check your login credentials

Copy the hostname, username and password directly from your hosting panel to rule out typos. Watch out for spaces before or after the password.

2

Check the port number

FTP uses port 21 by default, SFTP uses port 22. Enter the correct protocol and port number in your FTP program.

3

Switch between active and passive mode

Set the connection mode in your FTP client to passive (PASV). This resolves most 425 error messages because the data connection then takes a different route.

4

Test from a different network

Try connecting via mobile internet or a different wifi network. If it works there, the problem lies with your own router or network firewall.

5

Check if the account is active

Log in to your hosting panel and check that the FTP account exists and hasn’t accidentally been disabled or deleted.

Firewall, antivirus and network issues

Local security software is a common culprit in FTP problems. Firewalls and antivirus programs sometimes block active FTP connections, because these open additional ports that aren’t allowed by default.

Check whether your firewall or antivirus is blocking outgoing traffic on port 21 (or 22 for SFTP). Temporarily disable the firewall to test whether this is the cause, and then add your FTP client to the exceptions list instead of permanently disabling the firewall.

Some business networks and VPN connections also block FTP traffic by default. In that case, consult your network administrator or try connecting from a different network to rule this out.

πŸ’‘ Tip: preferably use SFTP instead of FTP. SFTP runs over a single encrypted port (22), so you’ll have much less trouble with firewall issues and your files are also transferred securely.

SFTP versus FTP: which should you use

FTP sends data, including your password, unencrypted over the internet. SFTP (SSH File Transfer Protocol) encrypts the entire connection, making it more secure and also less prone to firewall issues, since everything runs through a single port.

Where possible, SFTP is therefore the better choice. At Tandata you can find the correct login credentials and port settings in Plesk, along with your other hosting settings. If you’re unsure which hosting package suits your situation, check out the options for webhosting.

If the problem isn’t on your own device but you suspect a server issue, feel free to contact the support department. You can also find more explanations for common questions in the knowledge base.

Frequently asked questions

Why does FTP work at the office but not at home?

This usually indicates a difference in firewall or router settings between the two networks. Try changing the connection mode to passive and check your home router’s settings.

How do I know if my IP address is blocked?

If you repeatedly log in incorrectly, a security system may temporarily block your IP address. In that case, contact your hosting provider to check whether this is the case.

Can I use FTP alongside SFTP?

Yes, depending on the hosting configuration both are often available. For security reasons, however, it is recommended to use SFTP where possible.

Conclusion

A failed FTP connection can almost always be traced back to incorrect login credentials, an incorrect port or connection mode, or a firewall blocking the traffic. Go through the steps systematically and switch to SFTP if in doubt for a more stable and secure connection.

View webhosting β†’

Was dit artikel nuttig?