Knowledge Base Article

FTP times out

The TCP port usually used for FTP connection is port 21. Most often the reason for FTP time out is that your firewall or Internet service provider blocks this port or because your FTP client is NOT set to Passive mode.  First of all you should make sure that you use Passive mode with your FTP client. Than, if the problem persists,  you should run a check of the connection between your computer and the port 2. If there is a problem with the connectivity you should try disabling your local firewall, or, if this does not help, you should contact your Internet Service Provider.

How to run port 21 check?

 

1. Check port 21 with a Windows OS


Please click on the Start menu button, usually located on the left low corner of the screen. There is a tab called "Run". You have to click on it, in order to proceed further. You will notice the appearance of a new small window on the screen. In the text field of this window you need to type "cmd" and then press the "Enter" key. Another window will open. It is the so called "MS-DOS prompt" or "command prompt". Just type the following command in the command prompt window:

telnet my-domain-name.com 21

 

2. Check port 21 with Apple/Mac


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. Usually, the terminal is located under your Mac HD -> "Applications" directory -> Utilities sub-directory. When the window opens, you will see a command line with a flashing cursor on it so you can start typing right away. Just type the following command:

telnet my-domain-name.com 21

 

3. Check port 21 with Linux

 

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

telnet my-domain-name.com 21

 

Results from the 21 port check


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:11. Server port: 21.
220-This is a private system - No anonymous login
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.


______________

Find expert FTP hosting services at SiteGround.com: reliable servers, expert support team, unlimited FTP accounts and FTP access, FTP tutorial, and more.


Rating

Please indicate if this article was helpful for you.

rating :  1.8 from 5
views :  1267
votes :  18

Valid XHTML 1.0 Strict Valid CSS!