Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  How-Tos  >  Check if FTP port 21 is blocked
Top Scroll

Check if FTP port 21 is blocked

 2 min

FTP (File Transfer Protocol) is used to transfer the files from your local machine to hosting server. FTP by default works on port 21. Your web hosting provider at times changes FTP port OR your ISP (Internet Service Provider) blocks it.

You can telnet the default FTP port 21 to see if it’s being blocked.

Windows OS
Click on Start >> Run OR use a shortcut key Windows + r & type cmd. Hit Enter/Ok & it will open the MS-DOS prompt of your local machine. Usually known as command prompt. Perform a telnet onto port 21 for your domain name.

telnet 21

Linux OS
Open your terminal (the way you have MS-DOS prompt, in linux it is terminal) and perform the command as below to telnet your domain on port 21.

telnet 21

MAC has the terminal the same way you have it for linux. Command to telnet is the same.

telnet 21

When performing a telnet from any of the OS, if the connection is established, you will get output something as below.

220———- Welcome to Pure-FTPd [privsep] [TLS] ———-
220-You are user number 13 of 50 allowed.
220-Local time is now 11:29. Server port: 21.
220 You will be disconnected after 15 minutes of inactivity.

This means FTP port is enabled and service is working. You should be able to upload the files now. If telnet fails, contact your web hosting provider. FTP service is available with all web hosting services at MilesWeb Internet Services.

Read: FTP Hosting FAQs

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.