TR EN

Port 21: FTP (File Transfer Protocol)

FTP (File Transfer Protocol) uses TCP port 21 for command and control channels to transfer files between clients and servers.

⚡ Live Port 21 Open / Closed Scanner

Test real-time TCP socket connectivity on Port 21 for any domain or IP address:

Protocol
TCP
Category
File Transfer
Common Services
vsftpd, ProFTPD, Pure-FTPd, IIS FTP

What is Port 21 (FTP (File Transfer Protocol)) and How Does It Work?

FTP (File Transfer Protocol) uses TCP port 21 for command and control channels to transfer files between clients and servers.

Security Vulnerabilities & Attack Vectors on Port 21

Standard FTP transmits credentials in plaintext, making it vulnerable to sniffing. Use SFTP (Port 22) or FTPS (Port 990) instead.

Auditing & Scanning Port 21 with Nmap / Netcat

Run the following commands to check if Port 21 is reachable and inspect active listeners:

nmap -p 21 -sV --script ftp-anon,ftp-bounce <target>
nc -zv target-server.com 21
sudo lsof -i :21

Related Network Ports

Port 22 (SSH)Port 25 (SMTP)Port 53 (DNS)Port 80 (HTTP)Port 110 (POP3)Port 143 (IMAP)Port 443 (HTTPS)Port 465 (SMTPS)Port 587 (SMTP)Port 993 (IMAPS)

Frequently Asked Questions

How do I check if Port 21 is open?
Use the Live Port 21 Scanner widget at the top of this page to test any domain or IP, or run 'nc -zv target-ip 21' in your terminal.
Is it safe to leave Port 21 open to the internet?
Exposing Port 21 (FTP (File Transfer Protocol)) publicly introduces attack surface. Restrict access with firewall rules, IP whitelisting, and strong authentication.