{"id":730,"date":"2019-11-15T06:09:45","date_gmt":"2019-11-15T06:09:45","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/how-to-check-if-ftp-port-21-is-not-blocked\/"},"modified":"2025-12-02T15:33:52","modified_gmt":"2025-12-02T15:33:52","slug":"how-to-check-if-ftp-port-21-is-not-blocked","status":"publish","type":"post","link":"\/ca\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","title":{"rendered":"How to check if FTP port 21 is not blocked"},"content":{"rendered":"<p>Having issues connecting to your FTP account? If that&rsquo;s the case, it&rsquo;s worth checking whether port 21 is the culprit behind the connection failure. In this guide, we&rsquo;ll show you how to check if your FTP port 21 is open.<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/How-to-Speed-Up-Your-Website-EN.pdf\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"283\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/11\/eBook-Speed-Up-your-website-1024x283.png\" alt=\"\" class=\"wp-image-69260\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-how-to-check-if-port-21-is-open\">How to Check If Port 21 Is Open?<\/h2><p>Before we begin, this tutorial will require access to your system console. You can find more information on how to access the system console on Windows, Linux, and macOS in this <a href=\"\/ca\/tutorials\/smtp-port-587\">article<\/a>.<\/p><p>Here&rsquo;s how to check whether or not there&rsquo;s a blockage in FTP port 21:<\/p><ol class=\"wp-block-list\">\n<li>Open the system console, then enter the following line. Make sure to change the domain name accordingly. This same command applies to all operating systems.\n<pre>telnet yourdomain.com 21<\/pre>\n<\/li>\n\n\n\n<li>If the FTP port 21 is not blocked, the <strong>220 response<\/strong> will appear. Please note that this message may vary:\n<pre>220 FTP Server ready.<\/pre>\n<\/li>\n\n\n\n<li>If the <strong>220<\/strong> response doesn&rsquo;t appear, that means the FTP port 21 is blocked. If that&rsquo;s the case, we recommend you to contact your ISP to open the port.<\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-enabling-telnet-client\">Enabling Telnet Client<\/h3><p>Since we&rsquo;re be using a <strong><a href=\"\/ca\/tutorials\/linux-telnet-command\">Telnet<\/a><\/strong> command to check the connection, you need to ensure that your operating system has <strong>Telnet Client <\/strong>enabled.<\/p><p>Telnet is a client-server protocol that enables remote control over computers.&nbsp; In this case, it will help us test the connectivity to FTP port 21. In this example, we&rsquo;ll be showing how to enable Telnet Client on Windows:<\/p><p>1. Press the <strong>Window+R <\/strong>keys together, then enter <strong>control <\/strong>to open up your <strong>Control Panel.<\/strong><\/p><p>2. Navigate to <strong>Programs<\/strong> &rarr; <strong>Programs and Features. <\/strong>On the left panel, select <strong>Turn Windows features on or off.<\/strong><\/p><p><strong><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/enable-telnet-client-on-windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"366\" class=\"aligncenter wp-image-23124 size-full\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2016\/12\/enable-telnet-client-on-windows.png\" alt=\"Enabling the Telnet Client on Windows.\"  sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/a><\/strong><\/p><p>3. In the new dialog box, check the <strong>Telnet Client<\/strong> box and click <strong>OK<\/strong>.<\/p><h2 class=\"wp-block-heading\" id=\"h-what-is-ftp-port-21\">What Is FTP Port 21?<\/h2><p><a href=\"\/ca\/tutorials\/what-is-ftp\">FTP<\/a> is an internet protocol that allows computers within the network to exchange files in bulk. In order to work correctly, FTP must use two ports &mdash; <strong>port 21<\/strong> for command and control, and <strong>port 20<\/strong> for data transport. An FTP client cannot perform the protocol if it fails to connect to the FTP ports.<\/p><p>Unfortunately, some routers and firewalls block this port because hackers often target FTP servers via port 21.<\/p><p>If you happen to have an FTP connection issue, it&rsquo;s essential to verify whether or not there&rsquo;s a blockage in port 21.<\/p><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-full\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-web-hosting\" href=\"\/ca\/web-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\" alt=\"Hostinger web hosting banner\" class=\"wp-image-98604\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Some routers and firewalls block FTP port 21 due to security reasons, so it&rsquo;s essential to check the port&rsquo;s connection before performing the File Transfer Protocol. You might also want to check out our articles on solving FTP issues like solving error 421 &ndash; too many connections and <a href=\"\/ca\/tutorials\/how-to-fix-econnrefused-connection-refused-by-server-in-filezilla\">ECONNREFUSED<\/a>.<\/p><p>We hope you found this tutorial helpful. If you have any more questions, don&rsquo;t hesitate to leave a comment down below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having issues connecting to your FTP account? If that&rsquo;s the case, it&rsquo;s worth checking whether port 21 is the culprit behind the connection failure. In this guide, we&rsquo;ll show you how to check if your FTP port 21 is open. How to Check If Port 21 Is Open? Before we begin, this tutorial will require [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ca\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":32,"featured_media":139782,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"FTP Connection Issue: How to Check If FTP Port 21 Is Not Blocked","rank_math_description":"FTP clients require port 21 to work correctly. If you're having FTP connection issues, we'll teach you how to check whether the port is open.","rank_math_focus_keyword":"ftp port","footnotes":""},"categories":[22683,22685],"tags":[],"class_list":["post-730","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting","category-technical-aspects"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/porta-21-ftp-bloqueada","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/comprobar-puerto-21-ftp","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-cek-port-21","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/comprobar-puerto-21-ftp","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/comprobar-puerto-21-ftp","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/comprobar-puerto-21-ftp","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/porta-21-ftp-bloqueada","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-check-if-ftp-port-21-is-not-blocked","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":19,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"predecessor-version":[{"id":138822,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/730\/revisions\/138822"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media\/139782"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}