IIS 7 and Above
FTP server keeps saying "Connection closed by remote host"
Last post May 11, 2010 12:42 PM by Robster
Apr 22, 2010 02:52 PM|smay84|LINK
I'm trying to setup an FTP sevrer in iis 7.
I've unblocked the port 21 in the firewall and set it to allow anonymous access in order to test it out.
If i try to access it from the same machine i get Connection closed by remote host. Any ideas as to why. Everywhere i've looked so far says it is a firewall issue. If so what is it i'm meant to do?
I'm running Windows server 2008.
Apr 23, 2010 09:35 AM|smay84|LINK
I've realised i get an error when i test the settings in IIS:
Authorization: Cannot verify access to path
Ther server is configured to use pass-through authetication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access bla bla bla....
I have check the application pool and it is using NetworkService, which has read and write access to the folder.
Apr 23, 2010 12:07 PM|smay84|LINK
Ok i've got past these errors by starting from scratch and creating the site without ananymous users.
Have setup Isolated users and have managed to login. However now it just hangs without displaying a list of files. I have Sysinternals Process Monitor running and that hasn['t found any errors.
The ftp error is 550: Data channel timed out
How can i find whats wrong with this?
Apr 27, 2010 06:20 AM|Leo Tang - MSFT|LINK
FTP protocol uses a minimum of two connections during a session. TCP port 21 is used on the server for the control connection, but the data connection is determined by the method that the client uses to connect to the server.
Could you please follow the procedure in the article below to configure the firewall settings, then test again?
Configuring FTP Firewall Settings
Apr 27, 2010 08:16 AM|smay84|LINK
I've already read that tutorial. It wasn't anything to do with the firewall. I turned it off completely and it was still having the same problem. In the end i gave up and created a Ubuntu VM with proftpd. However i expect i'll be back to IIS after we
switch to using active directory. I'll take another stab at this and see what happens. Thanks for your reply.
May 11, 2010 12:42 PM|Robster|LINK