FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

When you setup an FTP server on a Windows Server 2003 system you may run into this issue if you are using RRAS and have configured the server as an Application Server (which causes the Application Layer Gateway service to start). There is a known issue with FTP and this configuration for downloading large files. However this can also affect an FTP server where "Allow anonymous connections" has been disabled.

To solve this you must configure the Application Layer Gateway (ALG) service to not make port mappings for your FTP server.

Here is the fix:

  1. On the server open Regedit
  2. Navigate to HKLM\Software\Microsoft\ALG\ISV
  3. Change the value of {6E590D61-F6BC-4dad-AC21-7DC40D304059} to Disable NOTE: not Disabled.

An IISReset is not required.

The Microsoft KB related to the large file download issue is here: http://support.microsoft.com/kb/931130/en-us

 

 

posted @ Monday, April 30, 2007 12:39 AM

Print

Comments on this entry:

# re: FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

Left by Paul H at 9/18/2008 5:49 AM
Gravatar

This worked thank you. Its amazing this is the only post with a working solution I have been able to find that addresses this issue.

# re: FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

Left by Smita at 10/3/2008 12:30 AM

The solution worked for me.Thanks!

# re: FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

Left by hendwi at 11/20/2008 10:23 PM
Gravatar

i lost in ssh server always close by remote host

# re: FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

Left by shayw at 7/9/2009 9:34 AM
Gravatar

I looked at 10 websites and this is the only thing that worked. THANKS

# re: FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

Left by zero at 8/23/2009 1:27 PM

Thank you, the solution worked for me too.

# re: FTP server on Windows Server 2003 returns “Connection Closed by Remote Host”

Left by Brigido Mahoche at 9/8/2009 6:39 AM
Gravatar

It worked.

Thank you very much.

Your comment:



 (will not be displayed)


 
 
 
Please add 8 and 4 and type the answer here:
 

Live Comment Preview:

 
«July»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567