• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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