Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-03-2004, 02:19 PM   #1
Registered: Nov 2003
Location: houston
Distribution: slackware 9.1
Posts: 41

Rep: Reputation: 15
how to change wu-ftp listen port?

Now that i got my FTP and Web server working in linux, all I need to do is change the listen port in wu-ftp from 21 to 22. I have another FTP server on my network, and to access both from the internet i cant have two computers using the same port numbers (port forwarding through my router). I basically just need to change the listening port from 21 to 22. Can anyone help? thanks a lot!
Old 01-04-2004, 10:18 AM   #2
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Thats not going to work. FTP uses more than one port and without getting into details the ftp protocal is odd. Besides port 22 is already used for ssh. Check it out
netstat -pan | grep :22;
Old 01-04-2004, 06:09 PM   #3
LQ Newbie
Registered: Jan 2004
Location: Oslo, Norway
Distribution: my own hybrid o.s.
Posts: 18

Rep: Reputation: 0
It's possible to change ftp to 22 if you like unless you have sshd (or something else) running on 22. The only real rule is that you can only have one service running on one port (unless your os allows it-- i am not aware of one that does).
Old 01-05-2004, 07:07 AM   #4
Registered: Nov 2003
Location: houston
Distribution: slackware 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
looks like I'm goin back to win2000 pro then. oh well, at least it's a lot easier to set up.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change ftp data port? RoaCh Of DisCor Linux - Networking 5 03-04-2005 05:50 PM
Ftp port change vipspark Linux - Security 4 03-01-2005 05:05 AM
Port 80 listen without WebServer? hacinn Linux - Security 5 06-30-2004 09:52 PM
Port won't Listen dvong3 Linux - Networking 4 05-12-2004 12:18 PM
Can vsftpd listen to another port? twelve Linux - Networking 9 05-05-2004 08:13 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration