Control Web Panel
WebPanel => FTP => Topic started by: rflsantana on October 28, 2015, 11:06:46 AM
-
Hi Guys!
I wonder how do I change the default FTP port . It's because? My ISP is blocking port 21 .
-
Why would an ISP do that? They do not.
If you are sure that u use correct connection port then you can try to setup your dmz settings in your router.
If you use root login then u must use the ssh port to login via sftp.
-
Hello.
Hi Guys!
I wonder how do I change the default FTP port . It's because? My ISP is blocking port 21 .
You can change port in the /etc/pure-ftpd/pure-ftpd.conf :
Igor ~# grep Bind /etc/pure-ftpd/pure-ftpd.conf
Bind 234
# Bind 127.0.0.1,21
Igor ~# /etc/init.d/pure-ftpd restart
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
Igor ~# netstat -nlp|grep -i ftp
tcp 0 0 0.0.0.0:234 0.0.0.0:* LISTEN 13592/pure-ftpd (SE
tcp 0 0 :::234 :::* LISTEN 13592/pure-ftpd (SE
Igor ~#
-
Look this topic : http://forum.centos-webpanel.com/ftp/how-to-change-default-ftp-port-21-centos-web-panel/