- Plesk 12.5 for Linux
FTP does not work in active mode while accessing from external network:
PLESK_INFO: 425 Unable to build data connection: Connection timed out
FTP is accessible locally.
- Cannot disable passive mode in Tools & Settings > Backup Manager > FTP Storage Settings:
PLESK_ERROR: Error: Unable to access to the storage: Transport error: unable to list directory: Curl error: (30) FTP: command PORT failed: Last FTP request: PORT 172,16,185,194,169,76 Last FTP response: 500 Illegal PORT command
Make sure you have entered the correct storage settings. You can check them independently with the command:
curl -v -P - --ssl -k -u user 'ftp://example.com//user/server3//'
TCP port 20, which is used as FTP data port, is filtered by a firewall:
# nmap -Pn 203.0.113.2 -p 20
Starting Nmap 6.47 ( http://nmap.org ) at 2016-05-14 02:41 NOVT
Nmap scan report for 203.0.113.2
Host is up.
PORT STATE SERVICE
20/tcp filtered ftp-data
FTP data transfer channel cannot be established due to TCP port 20 filtering.
Login to the server over SSH
Check firewall settings:
# iptables -L -n | grep 20
Allow incoming connections to the port:
# iptables -I INPUT 1 -p tcp --dport=20 -j ACCEPT
# service iptables save
If the port is still being blocked, it is possible, that an intermediary firewall is filtering connections to the port. Contact network administrator regarding the issue.