How to change the port for pure-ftpd in directadmin

Update: Jan 2018

new pure-ftpd new installs now have a config file at:

/etc/pure-ftpd.conf

Changes can be added there.



By default pure-ftpd binds to port .
You can specify a different port by editing:

/etc/init.d/pure-ftpd

There should be 2 OPTIONS= lines.
Add a 3rd line that looks like this:

OPTIONS=”${OPTIONS} –bind 990

and then restart pure-ftpd.

If you’re running a systemd OS (CentOS 7+, Debian 8+), then instead of the init.d script, you’d edit:

/usr/libexec/pureftpd_startscript

and add the OPTIONS line, just like above.

Leave a Comment

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

Hire a server Expert to resolve the issue Now.

Hire a server Expert to resolve the issue Now.

Resolve this issue in just 5$ from https://serverexpert.io

 

You have Successfully Subscribed!

Open chat