what port does ftp use?
FTP has a standard port number on which the FTP server listens for connections. A port is a logical connection point for communicating using the Internet Protocol (IP). The standard port number used by FTP servers is 21 and is used only for sending commands. Since port 21 is used exclusively for sending commands, this port is referred to as a command port. For example, to get a list of folders and files present on the FTP server, the FTP Client issues a LIST command.