• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Backup - FTP(S) Storage Settings - Cannot Set Up FTP-Connection

kornblume

New Pleskian
Hello,
I try to install a FTP-Storage (local network, QNAP, FTP activated), but Plesk cannot connect.
Works fine from other machines in the same network.
Plesk returns:
Error: Unable to access the storage: Transport error: unable to list directory: Curl error: (7) Couldn't connect to server: Last FTP request: Last FTP response:
Make sure you have entered the correct storage settings. You can check them independently with the command:
curl -v --ftp-pasv -u isp 'ftp://XXXXX//ISP/Plesk//'
In CLI: curl -v --ftp-pasv -u isp 'ftp://XXXXX//ISP/Plesk//'
Trying XXXXX
.* connect to XXXXX port 21 failed: Connection timed out
* Failed to connect to XXXXX port 21: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to XXXXX port 21: Connection timed out

Can please someone advice me?
Regards,
Gunther
 
Hi,
Actually there is no FW between my Plesk-Server and the FTP-Server.
From CLI, I cannot connect to any ftp-server on that machine.
I can ping the FTp-Server.
FTP works fine fromany other machine in the net.
Could it be, that there is a firewall-rule active on the plesk server, that I do not see on the Firewall-Interface in plesk?

Regards,
Gunther
 
You could try to look at some commands to find out what a port is doing. The relevant ports are 21 and 22, e.g.

# sudo lsof -i:22
# sudo netstat -tulpn | grep LISTEN
# sudo ss -tulwn
# sudo tcpdump -i <nic id> 'port 22' (for example: tcpdump -i eth01 'port 22')
 
What have you tried to analyze the problem? For example what are the outputs of the commands shown above and the curl test that Plesk suggests?
 
Back
Top