nerdexam
CompTIA

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…

Network security

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)
  • A
    87% (27)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (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

#FTP#port 21#well-known ports#firewall rules

Community Discussion

No community discussion yet for this question.

Full N10-005 Practice