Can you tell me what are the ports that need to be open for FTP?

link|improve this question

60% accept rate
3  
I put your question title into Google and found more answers than you will ever need. – John Gardeniers Dec 21 '10 at 22:54
Please see the Protocol overview on Wikipedia FTP page. – Zoredache Dec 22 '10 at 1:34
feedback

5 Answers

up vote 3 down vote accepted

The FTP server always receives traffic on port 21. It sends out traffic with a source port of 20 while using active ftp and with a a random port greater than or equal to 1024 while using passive ftp.

link|improve this answer
feedback

Well-known Port Numbers

link|improve this answer
While this is somewhat useful, I doubt it is enough for the person asking to understand ftp enough to permit it through a firewall/nat which is the most likely real question. – Zoredache Dec 22 '10 at 1:37
feedback

This is a list of Internet socket port numbers used by protocols of the Transport Layer of the Internet Protocol Suite for the establishment of host-to-host communications.Pls see the 20 th and 21 entry.The FTP server always receives traffic on port 21. It sends out traffic with a source port of 20

alt text

alt text

If u need whole list, go to the following link..

http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

link|improve this answer
As a picture? really? – Quentin Dec 22 '10 at 10:21
feedback

20:21

Depending on your setup & config.

FTP...SFTP?

What is your setup?

link|improve this answer
feedback

FTP uses port 21, you can forward the port in your firewall

link|improve this answer
This answer is incomplete. Forwarding only port 21 will not work 99% of the time. – Zoredache Dec 22 '10 at 1:36
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.