How to check if FTP port 21 is blocked ?

Some local ISPs are blocking the default TCP port for FTP connection – 21, which may cause connection issues. Below you may view how to check if that port is blocked in 3 operating systems:

a)    Windows:
In order to check if port 21 is blocked, click on the “Start Menu”
-    In the search field type “cmd”
-    In the newly opened command prompt enter the following command followed by “Enter” button:
telnet YourDomain.com 21

b)    Linux
In order to check if port 21 is blocked, simply open your favorite shell/terminal and type the following command followed by “Enter” button:
telnet YourDomain.com 21

c)    Apple/Mac
In order to check if port 21 is blocked, navigate to Mac HD -> “Applications” directory -> Utilities sub-directory. Once the terminal is opened type the following command followed by “Enter”:
telnet YourDomain.com 21
If you receive the following result, that means that port 21 is not blocked from your ISP or your Firewall:

Connected to YourDomain.com.
Escape character is ‘^]’.
220———- Welcome to Pure-FTPd [privsep] [TLS] ———-
220-You are user number 1 of 50 allowed.
220-Local time is now 07: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 you receive the massage like this, that is mean port 21 is blocked by your local ISP or your Firewall:
telnet: connect to address IP_Address: Connection refused
Then you should review your firewall or contact your local ISP for further assistance.

  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

Are there any FTP statistics ?

Yes, FTP statistics are available and can be found in Cpanel, Webalizer Ftp in the logs...

How to check the log of my FTP client?

The FTP log can be very useful when you troubleshoot connectivity or other issues with your FTP...

How to Connect to FTP Using FileZilla on Windows ?

FileZilla is a free FTP client which is available for most of the popular operating systems...

How to edit hidden/system files?

Under Linux, the files starting with dot (.) are hidden system files. An example for such a file...

How to fix the ‘421 Home directory not available – aborting’ FTP error ?

If you receive this error when trying to connect to your account via FTP: 421 Home directory not...