How to change pure-ftpd port

pure-ftpd by default listens on port 21. We will change the FTP port from 21 to some other port. This instruction work for RHEL, CentOS, AlmaLinux, Oracle Linux, and RockeyLinux.

To change FTP port to some other port, edit file

Find

Add below

Example

This will change FTP port to 2121.

Restart pure-ftpd with command.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *