Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th February 2010, 11:55
greenes greenes is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default How change pure-ftpd port 21 to...

Hi,

Please, could any body tell me how change port number
21 to 1122, for exemple, on pure-ftpd ispconfig3?

Thank's.

greenes
Reply With Quote
Sponsored Links
  #2  
Old 14th February 2010, 14:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Which distribution do you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th February 2010, 16:00
greenes greenes is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

...Debian Lenny...

Thank you
Reply With Quote
  #4  
Old 16th February 2010, 09:24
greenes greenes is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

Falko,

could you please tell me how change the port 21 to 11122 for exemple?

In Lenny IspConfig3.

Thank you newly.

greenes
Reply With Quote
  #5  
Old 16th February 2010, 09:46
greenes greenes is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

...answer to my self; so may be help to some body:

echo "11122" > /etc/pure-ftpd/conf/Bind

...that's mean:

echo "port" > /etc/pure-ftpd/conf/Bind

...it works fine.

Think it is possible also:

echo "IP,port" > /etc/pure-ftpd/conf/Bind

...example:

echo "192.168.1.5,11122" > /etc/pure-ftpd/conf/Bind

...but even i don't try it.

greenes
Reply With Quote
The Following User Says Thank You to greenes For This Useful Post:
falko (17th February 2010)
  #6  
Old 7th May 2010, 12:33
pajarofeo pajarofeo is offline
Junior Member
 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question And other port else?

I've tried

Code:
echo "21" > /etc/pure-ftpd/conf/Bind
echo "8989" >> /etc/pure-ftpd/conf/Bind
and...

Code:
echo "21,8989" > /etc/pure-ftpd/conf/Bind
but it doesn't work...

Where have you seen the word BIND in the documentation ??

Thanks
Reply With Quote
  #7  
Old 7th May 2010, 13:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

http://seoroot.com/blog/computing/sy...ple-ports.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 8th March 2014, 01:05
estepix estepix is offline
Junior Member
 
Join Date: Jun 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi, if you want to run FTP on port 1122 you need to run:

echo ",1122" > /etc/pure-ftpd/conf/Bind

Note that the syntax is:
echo "<ip-address>,<port-number>" > /etc/pure-ftpd/conf/Bind

So if you leave empty the <ip-address> field before the comma, you are only binding the <port-number> and therefore it will listen on "all" ips:

Code:
netstat -tnulp | grep pure-ftpd
tcp        0      0 0.0.0.0:1122              0.0.0.0:*               LISTEN      6086/pure-ftpd (SER
tcp6       0      0 :::1122                   :::*                    LISTEN      6086/pure-ftpd (SER
To apply the change remember to restart the service:
On old debian based OS:
Code:
/etc/init.d/pure-ftpd-mysql restart
On newer debian based OS:
Code:
service pure-ftpd-mysql restart
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two FTP Issues: Change Port and Alerts jonwatson Installation/Configuration 3 13th February 2009 13:49
How to change Port 25 to different Port # happz Installation/Configuration 1 6th October 2008 14:42
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 13:15
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 09:21.


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