• 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.

How to properly change deafulat FTP port on Plesk (Linux version)

Alan_SP

Basic Pleskian
My FTP server is regularly attacked. To make server more secure I changed default FTP port from 21.

I did it with instructions from here: http://www.esds.co.in/forum/f5/how-change-ftp-port-21-another-port-linux-plesk-server-4196/

Change FTP port from 21 to another (2021) port on linux plesk server.

edit /etc/proftpd.conf

change the port from 21 to another port suppose port 2021

also edit file /etc/services and make following changes

# 21 is registered to ftp, but also used by fsp
ftp 2021/tcp
ftp 2021/udp fsp fspd

then open the new port in csf.conf file and restart xinet.d service on the server.

Done.

This works perfectly for access to server, but it doesn't work for backing up server with personal FTP repository. Thing is, I could see my FTP backup server, but backup doesn't work. Restore works, as I see backup server.

I have other server I use for backing up. On it I changed FTP port to the same one on main server (the one I want to backup). Now I have working backup, but I couldn't restore, as Plesk looks for default port.

Is there a right way to change FTP port, so every part of Plesk is able to use it?
 
Just to add further info:

When backing up automatically it doesn't remove older backups (I'm using limited number of backup sets).

Removing part is obviously in restore part of Plesk configuration. :( So I need to manually delete older backups.

There should really be ability to setup FTP port in Plesk.

Even in backup options, we should be able to specify different port of our FTP repository. For example: ftp.mybackupserver.com:customFTPport
 
Last edited:
Back
Top