• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

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