unable to create backup to FTP server

m_mousavi

Verified User
Joined
Aug 20, 2020
Messages
12
Hello everyone.
I tried to make a backup automatically and send via ftp to another server, but whenever I click schedule in admin backup to create and send I got this error.
the destination is ok. I can easy connect via any FTP program or from another server and absolutely I set 21 for my ftp port without secure.
why directadmin not use 21 port ?

p.s: every time show different port .
 

Attachments

  • 1.jpg
    1.jpg
    39.1 KB · Views: 35
It is using passive FTP ports. Thats normal. Could your destination server be blocking this one via firewall?

TCP: 20, 21, 22, 25, 53, 80, 110, 110, 143, 443, 587,993, 995, 2222, 3306, 35000-35999
UDP: 53

Here's an explenation of what each port is for:

20, 21: FTP

Note that ftp will use a 'random high port number' if the client is in PORT mode, so you may need to add a port range into your /etc/proftpd.conf file to allow ftp connections, eg:

PassivePorts 35000 35999

and then open this port range as well in your firewall.

22: ssh access

25, 587: smtp for exim to recieve email

53: dns (named), so your sites resolve; open both TCP and UDP

80, 443: apache traffic; http and https

110, 995: client pop email access

143, 993: clients imap email access

2222: DirectAdmin access
 
Are both servers in a datacenter? Because normally connections should be possible without passive ftp via admin backup/transfer.
Be sure you have port 20 and 21 TCP opened in your firewall both incoming and outgoing.

In other cases, and if pasv is used, sce answered that part already.
 
Back
Top