- Plesk 12.5 for Linux
- Plesk Onyx for Linux
A server 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.
Improper firewall configuration
- Connect to the server via SSH;
Note: If the removing the directive does not help, contact network administrator or ISP to resolve the issue with the firewall.