- Plesk for Linux
FTP directory listing is not working for the dedicated IP on Plesk server behind NAT:
CONFIG_TEXT: ftp> ls
421 Service not available, remote server has closed connection
Passive mode refused.
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:
# grep -r Masq /etc/proftpd*
- Connect to the server via SSH;
# touch /etc/proftpd.d/49-masquerade-off.conf
- Open file in any text editor and add the following content:
CONFIG_TEXT: <VirtualHost 18.104.22.168>
Note: Replace 22.214.171.124 with the server IP address for which is required to disable the MasqueradeAddress.
If this does not help, contact the network administrator or ISP to resolve the issue with the firewall.