Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  FTP server listens for connection on port num... Start Learning for Free
FTP server listens for connection on port number
  • a)
    20
  • b)
    21
  • c)
    22
  • d)
    23
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
FTP server listens for connection on port numbera)20b)21c)22d)23Correc...
Answer: b
Explanation: 21 is the port number of FTP.
View all questions of this test
Most Upvoted Answer
FTP server listens for connection on port numbera)20b)21c)22d)23Correc...
FTP Server and Port Numbers

FTP (File Transfer Protocol) is a standard network protocol used for transferring files between a client and a server on a computer network. In order for the FTP client to connect to the FTP server, the server needs to listen for incoming connections on a specific port number.

The Port Number for FTP Server

The correct answer to the question is option 'B', which is port number 21. Port numbers are used to identify specific services or applications running on a computer network. In the case of FTP, port number 21 is designated as the default control connection port.

Understanding Port Numbers

Port numbers range from 0 to 65535 and are divided into three categories:

1. Well-known ports: These ports range from 0 to 1023 and are assigned to specific services or applications. Examples include HTTP (port 80), FTP (port 21), SSH (port 22), and Telnet (port 23).

2. Registered ports: These ports range from 1024 to 49151 and are assigned by the Internet Assigned Numbers Authority (IANA) to specific services or applications.

3. Dynamic or private ports: These ports range from 49152 to 65535 and can be used by any service or application on an ad-hoc basis.

The Role of Port 21 in FTP

Port number 21 is reserved for FTP control connections. When an FTP client initiates a connection to an FTP server, it sends a request to the server's IP address on port 21. The server listens for incoming connections on this port and responds to the client's request.

The control connection is responsible for sending commands from the client to the server and receiving responses from the server. It handles tasks such as authentication, file system navigation, and file transfer control.

Conclusion

In summary, the FTP server listens for connections on port number 21. This port is reserved for FTP control connections, which handle commands and responses between the client and server. Understanding port numbers is essential for establishing successful network connections and ensuring the proper functioning of specific services and applications.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Question Description
FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer?.
Solutions for FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer?, a detailed solution for FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? has been provided alongside types of FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice FTP server listens for connection on port numbera)20b)21c)22d)23Correct answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev