FTP site Win 2003 STD using IIS - cannot connect when firewall is on

Posted on 2007-10-14
Last Modified: 2013-12-02
I've setup an FTP site using IIS on an Windows 2003 STD server with the correct permissions etc.  I added the tcp ports 20,21,22 to the firewall exceptions list.

Although when the firewall is ON, i receive the error "The connection with the server was reset".

The firewall log says:

2007-10-15 12:32:20 DROP TCP 1052 4453 85 AP 2627175446 3997250951 17520 - - - FORWARD

Any help will be greatly appreciated.


James Daley
Question by:james_daley
    LVL 10

    Expert Comment

    The problem is that the client and server negotiate a different port number to connect on after the initial connection is made.

    This explains it more:
    LVL 19

    Expert Comment

    Are you using the Windows firewall? It is not a good product and is best avoided - a hardware based firewall is generally much more useful.

    Are you trying to connect to the FTP server from another PC on the LAN, from the Internet or from the same Win 2003 server that is running IIS? If the last, then maybe you need your firewall rules to allow access to/from
    LVL 1

    Author Comment

    Can anyone suggest a workaround?

    Thanks for all the info.
    LVL 19

    Expert Comment

    We really need more information from you first. What have you already tried (e.g. did you add a rule for What is the firewall? Is the server on a LAN? How is it connected to the Internet? Where are the clients located that need to access the FTP server - LAN or Internet? On which PC are you testing FTP access? etc.
    LVL 1

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Promote certifications in your email signature

    Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

    Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
    Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
    Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now