PDA

View Full Version : pureftp-d change default ftp port


tokamak
9th April 2009, 14:21
It is possibel to change the dfault ftp prot ?

and how i can make it :D ^^

Thanks for infos :)

till
10th April 2009, 11:21
Which Linux distribution?

gring
10th April 2009, 15:24
on debian / ubuntu, you have to create /etc/pure-ftpd/conf/Bind and put in it your interface with this format:

<ip_address>,<port>

to listen to all interfaces on port 500, put:
*,500

The monitor in ispconfig won't find it, though, you have to setup it manually, there is a thread in the forum about this issue.

tokamak
11th April 2009, 14:07
Big thx :D works fine

tokamak
11th April 2009, 14:32
you have to edit :

/usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php

in line 388

if($this->_checkFtp('localhost', 21)) {

you have to change 21 to the port you have in the "Bind" file :)

metalcated
10th August 2012, 20:07
The location of this parameter has changed -->

/usr/local/ispconfig/server/lib/classes/monitor_tools.inc.php

if ($this->_checkFtp('localhost', 21)) {

Hope this helps someone else. :D

billcouper81
14th August 2014, 13:04
Thank you so much metalcated :D
I had almost given up on it