Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How to Check if the Default FTP Port 21 is Blocked

What is FTP Port 21?

FTP, or File Transfer Protocol, is a means of transferring data online directly from one server to another. Typically requiring a username and password, it can be used through your web browser or a dedicated FTP client. In order for FTP to work, it requires access to ports used in the transfer process. While these ports can be changed, they default to port 20 and port 21.

At times though, these ports can be blocked, often due to a security permissions issue within your firewall settings.

But how can you check if you FTP Port 21 is being blocked?


Checking FTP Port 21

The process for checking if your port 21 is being blocked is very easy. To begin, open your favorite terminal emulator and run the below command to telnet your site

telnet 21


telnet 123.456.789.86 21

*Note: You must replace with your actual domain name or with your website/server’s IP Address. In addition, you can check the status of other ports by replacing the “21” at the end of the command with a different port number.

After entering the command, if you see the message “could not open connection to the host, on port 21: connect failed“, then this is showing that the port is being blocked. It might be getting blocked by your ISP (internet service provider), or it could be an issue with your security settings. If the issue is related to your security permissions, you’ll just need to make sure you allow port 21 access.


Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account -> Support and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here: We are also available to you through our phone and live chat system 24/7/365.


Additional Links:

Looking for more information on FTP? Search our Knowledge Base!  

In need of more great content? Interested in cPanel, Private Cloud, or Colocation? Check out our recent posts for more news, guides, and industry insights!

Share on Twitter
Share on Facebook