views:

674

answers:

2

I'm trying to specify the passive port range for an ftp server running on IIS6 in Windows Server 2003.

I've used: adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5600"

I've checked in the metabas file and the changes are applied to it. I can also use:

adsutil.vbs get /MSFTPSVC/PassivePortRange

and it returns the range I've set.

After restarting the ftp service, restarting IIS and even rebooting, the ftp server still uses it's default range (5000-65535 AFAIK).

Is there something else I need to do?

A: 

I've worked it out. It's a bug in the windows firewall. If you disable the firewall, the port raneg is used properly.

I had the "FTP service" enabled in the firewall as well as the port range I wanted. I disabled the FTP service and instead added port 21 manually. Now works fine!

John
A: 

Eres el puto amo!! if you don't understan my spanish expresion, pleased ask a your spanish friend if you know...

well this expression is that... You're the BEST!!!!!!!!!

Rafa