Author Topic: How to change ftp port  (Read 3114 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to change ftp port
« 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 .

Offline
**
Re: How to change ftp port
« Reply #1 on: October 28, 2015, 11:27:52 AM »
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.

Offline
*****
Re: How to change ftp port
« Reply #2 on: November 03, 2015, 10:21:15 AM »
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 :

Code: [Select]
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 ~#

Offline
*
---------------------------------------------------------------
T: +90 850 303 65 20
M: info@zirvesunucum.com
W: www.zirvesunucum.com
ZirveSunucum Internet Hizmetleri Ve Bilisim Teknolojileri
---------------------------------------------------------------