Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS6 FTP server is not working properly in passive mode wi..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  httpd.conf  
Author Message
Deniz

External


Since: Jul 20, 2007
Posts: 3



(Msg. 1) Posted: Fri Jul 20, 2007 2:54 pm
Post subject: IIS6 FTP server is not working properly in passive mode with MS Firewall
Archived from groups: microsoft>public>win2003>general, others (more info?)

Hi,

I have been having problems with FTP on our Windows 2003 server since
I activated the firewall on the server. I Googled around and read all
the KBs & discussions that I could find about this issue.

Problem/Symptom:

Once the Windows 2003 firewall is active (AND FTP Server is CHECKED
under Advanced > Settings), FTP clients hang during "List" of certain
directories. In some cases file list comes incomplete and/or jumbled
up (this second part can be client-specific)

Example:

If I have directories A B C D E served on FTP, when the firewall is
on, I can browse directories A, C, E with no problem from my FTP
client, and I get stuck at 16,718 bytes and 5,124 bytes while reading
the directories B and D. For instance, when I try to connect to the
FTP server using login A, it logs me in. Then I can browse the
directory and sub directories underneath. If I try to open a directory
that does not list (i.e. gets stuck during "List" command) I have to
disconnect. When I try to connect to the FTP server using login B, it
logs me in. It starts reading the directory, gets stuck at 16,718
bytes, and times out if I don't disconnect (similar to above). This
amount (16,718 bytes) is always same for this directory. If I disable
the firewall, this doesn't happen at all. If directory C is
successfully listed, it is always successfully listed. If listing
directory D is failed, it is always failed at the same place (e.g.
after reading certain bytes).

Tried Solution:

Limiting the port range for passive mode: Using Metabase Explorer, in
LM/MSFTPSVC I created a STRING record named PassivePortRange with the
value "5001-5050" (without quotes). I then added these ports to the
Windows Firewall using a batch script. I double checked and saw all 50
ports were added successfully in Windows Firewall. I restarted the FTP
service, but this did not solve anything. I also added port 21 just in
case.

If I disable the passive mode in my FTP client (Flash FXP 3.4) then I
can access those problem-directories, and they list just fine. And it
is faster too.

Are there any solutions, or troubleshooting methods that you can offer
to make IIS FTP service running behind the firewall in passive mode?
Or do I have to tell my FTP clients to turn the passive mode off?

Server is IIS 6.0 on Windows 2003 Standard SP1 w/ 6 IPs and Windows
Firewall.

Thanks in advance,

Deniz

 >> Stay informed about: IIS6 FTP server is not working properly in passive mode wi.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS6, Custom App not working properly - What is necessary to get the AppPools in II6 to work with applications that reside on network shares? For example, if my application/website resides on the local server in the path c:\website, and I have the website point to this path, my applicatio...

FTP Passive mode to Active - Hi. I have a Visual Basic .NET class that makes an FTP connection in Passive mode, and want to change it to Active mode. I know that i must use PORT instead of PASV command. I have the IP address, but don't know how to get Port number to make this..

Problems with Passive mode logging into IIS 5.0 FTP site - Got Win2000 DC running IIS Got Linksys dsl/cable router Web server is working properly Locally on DC using IE to log onto FTP site give error Make sure you have permission to access that folder .... Entering Passive Mode....... Connection closed, transfe...

FTP / Cisco / Passive mode Confusion / Clarification - Can someone confirm or explain the following? I no expert on the following but I believe I have identified an issue with FTP and Cisco devices. Scenario from INSIDE the network: ---------------------------------- When I try to access FTP or Web addres...

POP3 server not working properly - I have the POP3 service running on my Windows Server 2003 machine. For some reason, it isn't easy to connect to it. I've restarted both the service and the machine, and rebooted the clients I'm using as well, but I consistently get this error: Your..
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]