Open ftp port 21 on windows XP operating system

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.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

29 comments… add one
  • Pankaj Rana Aug 30, 2011 @ 12:58

    when i type 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.

  • Biswajit Oct 6, 2011 @ 8:27

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

  • Biswajit Oct 6, 2011 @ 8:43

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

  • Tony Bregenza Jan 20, 2012 @ 13:42

    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?

  • pouya May 17, 2012 @ 5:29

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

  • John Jul 11, 2012 @ 13:46

    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?

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.