Can't connect to remote FTP for backup

orthopug

New member
Joined
May 2, 2023
Messages
5
I set up an FTP server on Amazon EC2 that I can connect to successfully with FileZilla to upload/download files.

When I try to connect to that server using the Schedule Backup utility in DirectAdmin, I get the following error:

Code:
/usr/bin/curl returned error code 7
curl: (7) Failed to connect to X.X.XXX.XX port 21: Connection refused
FTP information invalid.

Any tips?
 
Is that just plain FTP, not FTPS or SFTP?

If yes, do you have port 20 an 21 open outgoing in your firewall?
 
Back
Top