Support

Akeeba Backup for Joomla!

#40094 Can't connect to FTP

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.1
PHP version
8.1
Akeeba Backup version
9.8.3

Latest post by Thrane on Monday, 08 January 2024 06:08 CST

Thrane

Hi

I'm trying to setup post-processing and upload to FTP, but I get the error CAN'T CONNECT TO HOST:PORT.

I have tested the FTP credentials in FileZilla and there I connect with no issues.

Any ideas what I might have missed?

Kind regards
Thomas

nicholas
Akeeba Staff
Manager

If you are using the exact same hostname / IP and port as you do with FileZilla, first check if you have checked the passive mode box. If not, do it now. If it's already checked, you will have to talk to your web site's host and ask them not to block connection to that server's FTP service.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Thrane

Thanks!

I am using the same credentials both places and Passive mode is on.
The website has connected to another FTP with no issues, so I don't think that they have blocked anything?

nicholas
Akeeba Staff
Manager

Akeeba Backup just uses PHP's built-in FTP functions. The error you get is literally PHP's function ftp_connect returning false. The only parameters we have given it at this point is the hostname, port, and the timeout (the latter is hard-coded, 10 seconds).

Therefore, the problem exists somewhere between PHP, your server, the server's network, the Internet, the FTP server's network, and the FTP server.

You have already established that it's not a problem with PHP, since you can connect to a different FTP server with no issues.

Therefore, we have to conclude that it's a network issue.

Either your server does not allow you to connect to your FTP server, or your FTP server does not allow your web server to connect to it.Β 

As a result, you do need to pursue it with the two providers: your web hosting provider, and your FTP hosting provider.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Thrane

Thank you - I'll dig deeper here ...

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!