View Full Version : pureftp-d change default ftp port
tokamak
9th April 2009, 13:21
It is possibel to change the dfault ftp prot ?
and how i can make it :D ^^
Thanks for infos :)
till
10th April 2009, 10:21
Which Linux distribution?
gring
10th April 2009, 14: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, 13:07
Big thx :D works fine
tokamak
11th April 2009, 13: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, 19: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
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.