Author Topic: How to change ftp port  (Read 7140 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 ~#
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
---------------------------------------------------------------
T: +90 262 373 65 20
M: info@zirvesunucum.com
W: www.zirvesunucum.com
ZirveSunucum Information
---------------------------------------------------------------