Pergunta de entrevista da empresa Meta

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

Resposta da entrevista

Sigiloso

24 de set. de 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