HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   pureftp-d change default ftp port (http://www.howtoforge.com/forums/showthread.php?t=33456)

tokamak 9th April 2009 14:21

pureftp-d change default ftp port
 
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

Yeah great :D
 
Big thx :D works fine

tokamak 11th April 2009 14:32

Monitor issue
 
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


All times are GMT +2. The time now is 10:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.