Open ftp port 21 on windows XP operating system

by on April 25, 2006 · 29 comments· LAST UPDATED November 22, 2007

in , ,

MS-Windows XP service pack 2 comes with in build firewall. If Microsoft Windows Firewall is blocking a port that is used by a service or by a program, you can configure the Windows Firewall to create an exception. Windows Firewall may be blocking a program or a service if Programs do not respond to a client's request or you do not get data from server.

Open ftp port 21
To open ftp port 21 you need to change windows firewall settings.
Click on Start > Settings > Control Panel > Click on Security center

At the bottom window (Manage security setting for:) you will see Windows Firewall option. Click on this option. It will open Windows Firewall dialog box:

Select Exception tab > Click on Add port

Add port 21 and 20 and save the firewall (see above two figures).
Save firewall by clicking on Ok button. You are done now your Windows XP box will allows incoming FTP connection. Please note that you need to run FTP server in order to establish connection.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 29 comments… read them below or add one }

1 chriss July 25, 2007 at 11:45 am

Hi,

I am stuck…
I have allow theport 20 21 in tcp and udp but i still cannot download on a ftp server like ftp://ftp.software.ibm.com/pc/pccbbs/mobiles/7rwc06ww.exe.

Help !!!!

thanks,

Chris

Reply

2 Milind September 10, 2007 at 6:25 am

Hi,
You said you had open port 20 and 21 and still your not able to download.
Have you check, wherether you are able to donload from other ftp sites ?
Also check with your ISP if the have block those port

Milind

Reply

3 blaster01 May 24, 2008 at 4:27 pm

How do you open port 443?? HTTPS i believe. This one is closed for me. =(

Reply

4 Pierce July 12, 2010 at 6:28 pm

Go to control Panel. Locate your firewall settings. Once in your firewall settings, Click the Exceptions tab at the top (should be right of general).
1. Click “Add Port”.
2. For the name type “HTTPS”
3. For Port number type “443”
4. Make sure TCP is checked.
5. Press okay and that’s all ;D

Reply

5 yudi chan May 27, 2008 at 9:35 am

thx for your help opening ftp port 20-21

Reply

6 Jesse January 1, 2009 at 1:44 am

Yes, hello,

I am trying to download Norton on the computer I am using right now. I have Norton already on another computer, but need it on this one as well. I have gone through all the steps as shown on this website, but I still can not download Norton. As soon as I click the “DOWNLOAD” button it says it could not connect to FTP etc. etc. I have checked and re-checked and ports 20 and 21 are both on the exception list. Is there anything else I could try?

Reply

7 Catherine March 5, 2009 at 3:44 pm

Good morning! After reading your web sites
instructions on opening up my FTP ports, I was able to do so effortlessly and save myself a trip to the computer repair.
Recently my computer was infected with the A360 Virus…I run a clean computer and I thought I had a good anti virus system in it, but I was wrong and it really took hold of my sysem.
I took my Dell to Best Buy where the Geek Squad got the virus out of my computer, but my ports were also infected (my opinion) I learned this later in the evening as I was trying to work with my programs. The guy at Norton told me to get my FTP ports looked at…Best Buy never did and they charged me $200.00. I did my research and found you on Google, Thanks to you I now have my computer back. Your instructions were clear and easy to follow. Thank you so much for helping me with this problem.

Reply

8 a March 14, 2009 at 10:08 pm

great,thaaaaaaaaaaaaaaaaaaaanks

Reply

9 Prashant March 17, 2009 at 8:49 am

Hi,
I am trying to connect to a system from cmd prompt using ftp -> open-> user -> password. Once all the information is provided it says user logged in. But i am not able to view any files(ls or Dir) also i am not able to change the home directory.
ftp> cd E:/
550 E:/: The filename, directory name, or volume label syntax is incorrect.

Can you help me out?

Reply

10 Benjamin April 14, 2009 at 2:20 pm

Another important thing to remember is that you may also need to go into the ‘Advanced’ tab, select your network connection, click ‘Settings’, and enable FTP on the Settings screen. Windows Firewall is so stupid that it needs to be told twice to allow FTP traffic.

Reply

11 Joe May 18, 2010 at 4:46 am

Thank you so much Benjamin!!!! I’m been beating my head against a wall for about 2 hours on this one. I thought I had my ports opened and set. I didn’t realize that stupid Windows needed to be told 2x what to do.

Thanks a million!

Reply

12 clyde April 26, 2009 at 1:46 am

everyone here trying to use ftp needs to remember to forward the port on your router, as for prashat you need to change the settings on the ftp server software.

Reply

13 flighter February 17, 2010 at 7:15 pm

I am having issues trying to ftp between vista and linux help required.

Reply

14 sankar February 17, 2010 at 7:25 pm

I configured the FTP Server and Data on port 20 and 21 but I am still unable to ftp between vista and Linux. I am also unable to ping I get the error message connection timed out

Reply

15 Anonymous March 27, 2010 at 2:44 pm

i wanted to know how i open the ftp ports
i try from windows firewall but it was not done yet
can you help me out

Reply

16 shrikant more March 27, 2010 at 2:47 pm

i wanted to know how to open FTP ports?
i try through the windows firewall but it can open it.
so can you help me out.

Reply

17 Vishwa April 11, 2012 at 1:48 am

Hi all,
I am not able use the ftp in windows xp. I have to connect the windows xp to ftp server through ftp command and not through other softwares like winscp e.t.c. I was able to ping to the ftp server but not able to connect it. I have checked at the server side ftp ports are fine ( ports 20,21 are in litsening mode). Added the port 20 and 21 exception in windows xp firewall. But this port are still in active state and not in listening state, I confirmed this with netstat -a command. winscp is working fine. let me know why i am not able connect to the server through the ftp command. command which I have used is ftp I am getting timeout message.

Reply

18 Avdhesh June 9, 2010 at 7:30 pm

Is there any good recommended software we can directly install and use to connect to ftp.

Reply

19 K!nG November 30, 2010 at 2:58 pm

I have done all these steps but still not able to get connected..FTP hangs at MLSD command “timed out” . I figured its been blocked by net provider… U can unblock it from your modem but i just don’t know how ???????? can someone help please ??

Reply

20 pepi December 15, 2010 at 1:50 pm

tanky !

Reply

21 Svilen Petrov December 21, 2010 at 7:44 am

Yes it works. Thanks really. We were trying for more than an hour to find how to do it. Really good procedure

Reply

22 Max February 5, 2011 at 6:39 pm

Can anyone explain to me how to access my WD Livebook (HDD attached to my home router) without using an online service like Monet? Can I do this without using a paid service? And can I allow others to access it as well?

Reply

23 Jeremy April 11, 2011 at 11:58 pm

Stupid is right. I’ve spent hours setting up a windows XP pro computer as a FTP server and none of them said anything about the advance tab and settings button. Thanks! You just ended my quest… onto life.

Reply

24 Pankaj Rana August 30, 2011 at 12:58 pm

when i type ftp://192.168.1.216 it is opening on localhost ftp server
but unable to open on another hosts in network
so kindly suggest me
error: no route to host.

Reply

25 Biswajit October 6, 2011 at 8:27 am

Hi,
Please tell me how can i allow port 20. I have windows 7 operating system. Please help me.
Thanking you

Reply

26 Biswajit October 6, 2011 at 8:43 am

Sorry, Please tell me how can i allow port 21. I have windows 7 operating system.

Reply

27 Tony Bregenza January 20, 2012 at 1:42 pm

i am using Kasper-sky Internet Security 2011. when i want to reset the trial pack then one message come generally occurs disable windows firewall. In that case will it work?

Reply

28 pouya May 17, 2012 at 5:29 am

Hi
In my system WinXP sp3 FTP DATA on port 20 don’t work, I use Port 22 for FTP DATA it’s work :)

Reply

29 John July 11, 2012 at 1:46 pm

Hi, i discovered an open ftp port 21, port https 80 and port 873 on one of the website. how can i launch an attack on these to just prfor practice sake?

Reply

Leave a Comment

Tagged as: , , , , , ,

Previous Faq:

Next Faq: