CentOS7 Unable to change FTP port
I've trying to set my own FTP port, and changing the value in /etc/pure-ftpd.conf doesn't survive a service restart.
I've changed it many times on CentOS6, but it's not changing on my CentOS7 server.
Is there a default config which is being applied at service restart?
Bind {myport}I've changed it many times on CentOS6, but it's not changing on my CentOS7 server.
root@cpanel [/etc]# netstat -nltp | grep ":21"
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 15342/pure-ftpd (SE
tcp6 0 0 :::21 :::* LISTEN 15342/pure-ftpd (SE
root@cpanel [/etc]# Is there a default config which is being applied at service restart?
-
Hello :) You can edit the following file to ensure the changes you make are permanent: /var/cpanel/conf/pureftpd/main Run the following command after making the changes: /usr/local/cpanel/scripts/setupftpserverpure-ftpd --force
Thank you.0 -
Thanks Michael :) 0 -
You are very welcome. Can you confirm that addressed the issue? Thank you. 0 -
You are very welcome. Can you confirm that addressed the issue? Thank you.
Yes it did thank youroot@cpanel [~]# netstat -nltp | grep 8990 tcp 0 0 0.0.0.0:8990 0.0.0.0:* LISTEN 22499/pure-ftpd (SE tcp6 0 0 :::8990 :::* LISTEN 22499/pure-ftpd (SE root@cpanel [~]#0
Please sign in to leave a comment.
Comments
4 comments