MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to Change Your FTP Port ?  (Read 3773 times)

0 Members and 1 Guest are viewing this topic.

Offline saurabhj

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
How to Change Your FTP Port ?
« on: July 29, 2015, 07:40:19 PM »
If you want to change your FTP port then follow the steps :

Pure-FTP

1) Edit /etc/pure-ftpd.conf and look for the following line:

Before :
Quote
Bind 21

After   :
Quote
Bind 20
Note : 20 is the new port we used put the service on.

2) If necessary, add the new FTP port to your server's firewall.

3) Edit /etc/chkserv.d/ftpd and change the port, which is the first comma-separated entry to the right of '=' on the line in the file, to match the port you put the service on.


ProFTP

1) Edit /etc/proftpd.conf and change:
Quote
Port 21

2) Then make sure to test to make sure FTP is working before notifying your users !

MilesWeb Hosting Forum

How to Change Your FTP Port ?
« on: July 29, 2015, 07:40:19 PM »