pureftp-d change default ftp port

Discussion in 'Installation/Configuration' started by tokamak, Apr 9, 2009.

  1. tokamak

    tokamak New Member

    It is possibel to change the dfault ftp prot ?

    and how i can make it :D ^^

    Thanks for infos :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Linux distribution?
     
  3. gring

    gring Member

    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.
     
  4. tokamak

    tokamak New Member

    Yeah great :D

    Big thx :D works fine
     
  5. tokamak

    tokamak New Member

    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 :)
     
  6. metalcated

    metalcated New Member

    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
     
  7. billcouper81

    billcouper81 New Member

    Thank you so much metalcated :D
    I had almost given up on it
     
  8. Jumo25

    Jumo25 New Member

Share This Page