• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question FTP Server in Plesk

chrisguk

New Pleskian
Hi there,

I am brand new to Plesk and I did scour the net and the manual before coming here.

I have setup plesk default install and configured the DNS and nameservers. With resolution everything works perfectly.

The problem I am having is I do not want to open port 21 on the server and use passive ports only. Have I got this theory correct or not?

Or is it safe to leave port 21 open?

The other thing is when I opened port 21 I only received the message from the filezilla client "retrieving directory list" and it just hangs there. Is there something I need to do to ensure the directory listing defaults to /%accountname%/httpdocs/

Or does it do this by default and I have missed a step?

Any help to resolve this would be greatly appreciated.

Many thanks
 
Or is it safe to leave port 21 open?
It is safe ... and to avoid issues/failures/misconfigurations, consider NOT to change it. Instead, pls. use for example Fail2Ban, to secure it.

The other thing is when I opened port 21 I only received the message from the filezilla client "retrieving directory list" and it just hangs there. Is there something I need to do to ensure the directory listing defaults to /%accountname%/httpdocs/
Investigations are done with the help of log - files and configuration files.

/usr/local/psa/var/log/ftp_tls.log ( should link to: "/var/log/plesk/ftp_tls.log" )
/usr/local/psa/var/log/xferlog ( should link to: "/var/log/plesk/xferlog" )

There are three depending configuration files for ProFTP with Plesk:

/etc/xinetd.d/ftp_psa
/etc/proftpd.conf
/etc/proftpd.include

Please investigate these files as well, to find issues.
 
Back
Top