Your Webhosting Questions
Answered by the Webhosting Experts

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.


Popular Links

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

Interested in more articles about Web Hosting? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: DNS, FTP, IIS, MX Records, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.


The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

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 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 at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +