- Plesk for Linux
Plesk server is behind NAT and have several IP addresses configured. FTP directory listing is working on the shared IP and not the dedicated IP.
Attempt to list the content fails with the following error:
CONFIG_TEXT: ftp> ls
421 Service not available, remote server has closed connection
Passive mode refused.
# grep -r Masq /etc/proftpd*
MasqueradeAddressconfigured on the server with several IP.
MasqueradeAddressinstruct FTP server advertise defined IP to FTP clients and they attempt to establish a connection to this address.
- Connect to the server via SSH;
Note: If this does not help, contact the network administrator or ISP to resolve the issue with the firewall.