what port is used for ftp?
How the TCP Port 21 Works With FTP. The File Transfer Protocol Uses Port 20 and 21. The File Transfer Protocol (FTP) provides a means to transfer information online, much like how the Hypertext Transfer Protocol (HTTP) is used through a web browser. FTP, however, operates on two different TCP ports: 20 and 21.