Windows 7 Firewall Blocking FTP Server

12,200

FTP uses 2 channels for communication, ftp-data (20) and the ftp control channel (21). Depending on how you have it configured, active or passive, it will require a different configuration.

Windows makes things easier due to the fact that you can allow certain executables instead of specific ports. You can choose to allow the FTP server executable, or put the server into passive mode and allow ports 20 and 21.

Share:
12,200

Related videos on Youtube

Mica
Author by

Mica

Updated on September 17, 2022

Comments

  • Mica
    Mica over 1 year

    Everything else is configured. When I turn the firewall off, it connects. When I turn it on, it doesn't. I've added inbound and outbound rules, opening port 21 for all programs and services, but it's not good enough. Why??

  • Mica
    Mica about 13 years
    The server is running as a service. I've now opened 20-21, but nothing. What's this about passive mode? I'm using zFTPserver.
  • Mica
    Mica about 13 years
    Ok, now I've made it as open as possible, allowing any protocol on any port for the service, on both the inbound and outbound rules. It still won't work!
  • Danzzz
    Danzzz about 13 years
    @xichael: don't forget you might have to open both TCP and UDP connections for those ports.
  • bgmCoder
    bgmCoder over 9 years
    I have the same problem - I can't get the firewall to allow incoming FTP; if I disable the firewall FTP works fine.