LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to change wu-ftp listen port? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-change-wu-ftp-listen-port-131199/)

jamil5454 01-03-2004 02:19 PM

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!

g-rod 01-04-2004 10:18 AM

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;

TheDarkLord 01-04-2004 06:09 PM

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

jamil5454 01-05-2004 07:07 AM

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


All times are GMT -5. The time now is 09:47 PM.