How to check whether FTP port 21 is blocked?
If you are experiencing issues with getting connected to your web hosting account using FTP, chances are that your ISP (Internet Service Provider) might be blocking the port from being opened by their firewalls. Below, we’ve created a step-by-step guide on how to check if your FTP port is being blocked:
Apple - Checking FTP Port 21:
- Ensure that your signed into your computer
- Then go to the "Applications" folder and then onto "Utilities"
- Once within "Utilities" click on "Terminal"
- After you launch the "Terminal" application, input the following:
# telnet my-domain-name.com 21
- If successfully connected, you should see a message appear:
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 17:16. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
- If not, you should see a message such as the one below:
Trying xx.xx.xx.xxx...
telnet: connect to address xx.xx.xx.xxx: Connection refused
telnet: Unable to connect to remote host
Windows – Checking FTP Port 21:
- Ensure that your signed into your computer
- Once logged in, please go to the "Start" menu and click on "Run"
- Once within "Run" please input "cmd" and hit the "enter" key
- Once the new screen comes up, please input the following:
# telnet my-domain-name.com 21
- If the connection is successful, you should see a message such as:
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 17:16. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
- If not, you should see a message such as the one below:
Trying xx.xx.xx.xxx...
telnet: connect to address xx.xx.xx.xxx: Connection refused
telnet: Unable to connect to remote host
If you do end up getting the latter message, we would strongly advise you to get in contact with your ISP (Internet Service Provider) to ensure that they are not blocking port 21 for your Internet connection.
Should you have any further questions pertaining to FTP hosting, or connectivity issues, please feel free to get in contact with your web hosting support team for further assistance.