:21
(TCP)
FTP Control
Critical 风险TCP — File Transfer
On this page
端口概览
端口号
21
服务名称
FTP Control
传输协议
TCP
类别
File Transfer
安全风险
Critical
端口范围
知名端口 (0-1023)
什么是端口 21?
FTP control channel. Handles authentication, directory listing commands, and file transfer negotiation. Sends usernames and passwords in plaintext.
TCP
File Transfer
常用
安全注意事项
端口21(FTP Control)被归类为严重风险。此端口不应暴露在公网上。该服务在未加密的情况下传输数据,容易受到窃听、凭据窃取和中间人攻击。
建议:在防火墙处封锁此端口。改用加密替代方案(SSH、SFTP、HTTPS)。