N10-005 · Question #882
Which of the following port numbers needs to be open on a firewall to allow FTP traffic?
The correct answer is A. 21. FTP (File Transfer Protocol) uses port 21 for the control connection (sending commands) and port 20 for active-mode data transfer. A firewall must allow port 21 for FTP to function. Port 22 is used by SSH and SFTP. Port 23 is used by Telnet. Port 25 is used by SMTP for email…
Question
Which of the following port numbers needs to be open on a firewall to allow FTP traffic?
Options
- A21
- B22
- C23
- D25
How the community answered
(31 responses)- A87% (27)
- B3% (1)
- C6% (2)
- D3% (1)
Explanation
FTP (File Transfer Protocol) uses port 21 for the control connection (sending commands) and port 20 for active-mode data transfer. A firewall must allow port 21 for FTP to function. Port 22 is used by SSH and SFTP. Port 23 is used by Telnet. Port 25 is used by SMTP for email. These are foundational well-known port assignments tested on all networking certifications.
Topics
Community Discussion
No community discussion yet for this question.