Checking if FTP port 21 is blocked (FTP timing out error)

The default port for FTP connection is 21. Sometimes user faces FTP connection problems when the ISP (Internet Service Provider ) blocks this port. Due to this reason FTP usually times out.

Here is how to check whether your port 21 is blocked or not depending on your operation system.

FOR WINDOWS OS :

  • Goto start menu
  • Goto run
  • Type cmd in the run dialog box
  • Press enter
  • In the command prompt . type the following command and press enter

telnet my-domain-name.com 21

FOR APPLE/MAC OS:

Each Mac OS is delivered with a preinstalled terminal emulator. The terminal is a tool which allows you to execute commands from the command line.

  • Goto MAC HD
  • "Applications" directory
  • "Utilities" sub directory
  • A new windows will appear with a cursor blinking on it . Type the following command and press Enter

telnet my-domain-name.com 21

FOR LINUX OS:

Open your favorite terminal emulator and execute the following command in order to telnet your website:

telnet my-domain-name.com 21


RESULTS:

If the test is successful, you should receive a message like this:


220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 03:35. 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 the welcome message above does not appear, you should contact your local ISP and ask them to unblock this port for you.



Was this answer helpful? 294 Users Found This Useful (324 Votes)