Specifying PASV ports at the server



Hi All,

I'm working on a Windows 2003 Server (standard) and I need to specify the
ports that the server will specify to the client for the data transfer
sessions. It's just in the testing stage at the moment, and I set up a
second ftp site on the server that will use port 50021 for the control port
and I want to make ports 50022-50040 available for PASV ftp data transfer
use.

I found the document titled "How to configure PassivePortRange in IIS
(555022), and I'm having problems implementing the procedure.

I enabled the "direct metabase edit" as described, and that seemed to work.
However, when I tried the command:

adsutil.vbs set /MSFTPSVC/PassivePortRange "50022-50040"

I get the following error:

ErrNumber: -2146646000 (0x800CC810)
Error Trying To Get the Object: MSFTPSVC

I did some searching on the Internet, and I couldn't really find anything
useful to help me solve the problem.

I checked to make sure that the service seemed to be there, so I ran
"adsutil.vbs enum MSFTPSVC" and saw the very same error.

Next, I thought I'd just try checking the ftp sites with the "iisftp
/query" and saw this:
C:\Inetpub\AdminScripts>iisftp /query
Connecting to server ...Done.
Site Name (Metabase Path) Status IP Port
==================================================================
Default FTP Site (MSFTPSVC/1) STARTED ALL
21
Another FTP Site port 50021 (MSFTPSVC/440430970) STARTED ALL
50021

So, I thought I'd try:
C:\Inetpub\AdminScripts>adsutil.vbs enum MSFTPSVC/440430970 and
C:\Inetpub\AdminScripts>adsutil.vbs enum MSFTPSVC/1
and in both cases, I still got the exact same error message.

I'm completely stumped here, and hope that someone can help me on this.

BTW, both ftp sites work just fine, however on the "Another" site, while the
control session does use tcp port 50021, the data sessions use the "default"
tcp ports.

Thanks in advance,

Mark





.



Relevant Pages

  • Re: Unable access ftp site
    ... I had an exeption for port 21 in the firewall. ... worked when it was on the SBS server, ... it to the "outsidemachine" that I am unable to connect to the ftp site via ...
    (microsoft.public.windows.server.sbs)
  • RE: Some technical errors
    ... If the SMTP server is not running on port 25 TCP it is not a public ... Manager - Computer Assurance Services BDO Chartered Accountants & ...
    (Security-Basics)
  • Re: SRV RRs support in Internet Explorer?
    ... The port number could be implicit (i.e. ... At any point in time, a server could fail ... can't effectively LB or backup because NSs cache the records for the TTL ... I still don't see how SRV records would help backup or LB. ...
    (microsoft.public.win2000.dns)
  • Re: Still cant connect to RWW or OWA remotely
    ... I get 'cannot find server or dns error' on both ... TCP [port number]> to open the ports. ... As for error messages when I fail to access RWW with the laptop, ... network, no connection seems possible. ...
    (microsoft.public.windows.server.sbs)
  • Re: cannot send mail from Windows mail
    ... When a username/password combination doesn't work in Windows Mail, ... I mean I dont use it but as outgoing address for my ISP account. ... youir username and password are correct for your mail server". ... Ask your home ISP if they support SMTP on a port other than 25. ...
    (microsoft.public.windows.vista.mail)