Checking if port 21 is blocked

One of the most common connection issues is due to the fact your ISP may be blocking the default port used by FTP; port 21. Here is how to check if port 21 is blocked:

Mac OS X

  • Open "Finder"
  • Navigate to "Applications"
  • Open the "Utilities" folder
  • Open "Terminal"
  • In the "Terminal" window, type: telnet mydomain.com 21
  • If successfully connected, a message like this will appear:
 ---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 
220-You are user number 2 of 50 allowed.
220-Local time is now 12:06. 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 you are unsuccessful, a message such as this:
Trying xx.xx.xx.xxx... 
telnet: connect to address xx.xx.xx.xxx: Connection refused
telnet: Unable to connect to remote host

Windows

  • Click on "Start" and then click "Run"
  • Type "cmd" in the "Run" box and press "Enter"
  • In the "MS-DOS" window, type: telnet mydomain.com 21
  • If successfully connected, a message like this will appear:
---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 12:06. 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 you are unsuccessful, a message such as this:
Trying xx.xx.xx.xxx...
telnet: connect to address xx.xx.xx.xxx:
Connection refused telnet: Unable to connect to remote host

If you are getting the unsuccessful message, we advise getting in touch with your ISP, to ensure they aren't blocking port 21. 

Please get in touch with our support team if you require further assistance. 

Is article helpful?