Meta Interview Question

HTTP port = HTTPs Port = DNS port = SSH Port = 22 FTP = 21

Interview Answer

Anonymous

Sep 24, 2017

Technically, FTP is 21(TCP) inbound to the server for control, but then for data, there's another connection. Passive FTP will be another connection from client to server on a high port (TCP1024+). Active FTP will be a connection from the server outbound on port 20 to a high port on the client.

1