Re: 425, 426 errors - can't connect...

From: gajett (junk_at_ALBERTeinsteinscat.com)
Date: 01/19/05


Date: Tue, 18 Jan 2005 23:40:26 -0600

Alun Jones [MSFT] wrote:
> "gajett" <junk@ALBERTeinsteinscat.com> wrote in message
> news:%23u07gCL$EHA.3124@TK2MSFTNGP11.phx.gbl...
>> Using CuteFtp, I am trying to log in to this account. Using
>> TCPView, it shows that I am connected through only one of the ports
>> I set up, my TCP port setting in the FTP site properties. The ports
>> in the passive range I configured aren't being used. Cute is just
>> counting up in a loop through the ports as I try to upload a file. It
>> started at 60000.
>
>
> It sounds like CuteFtp is not set up to make data connections in
> passive mode.
>
> Perhaps it would be a good idea to distinguish between whether you're
> using active mode or passive mode.
>
> Command-line FTP always uses active mode, and has the advantage that
> if you run it with "ftp -d yoursite.example.com", it will tell you
> what commands are being sent, and what the responses are. Start with
> that, and see whether you still have problems.
>
> Then, if you need passive mode support as well, try it with an FTP
> client that allows you to see the commands sent and the responses
> received.
> Alun.
> ~~~~

Cute allows active/passive switching, FWIW. It also passes commands and
responses. Here is the list of responses, which are the same from the
command line,

< 220 Microsoft FTP Service
> USER XXXX
< 331 Password required for XXXX.
> PASS *****
< 230 User XXXX logged in.
> REST 1
< 350 Restarting at 1.
> REST 0
< 350 Restarting at 0.
> SYST
< 215 Windows_NT
> PWD
< 257 "/XXXX/Default" is current directory.
~ Login completed.
> PORT 192,168,0,101,14,217
< 500 Invalid PORT Command.
~ Could not retrieve directory listing for "/XXXX/Default/"
> NOOP
< 200 NOOP command successful.

Here's is what I am wondering now (in addition to why it won't work)
The port returned is not the right machine. It is returning 192.168.0.101.
??? It should be .111. The router firewall is set up to forward the ports
I am using to 192.168.0.111.

Thanks for the help!!

Greg



Relevant Pages

  • Re: TCP/IP ports in use
    ... David Alcock wrote a ISPF panel system that did all the netstat commands ... Behalf Of Chris Mason ... One way to discover which ports are in use is to check the output of the ... Administrator's Commands manual. ...
    (bit.listserv.ibm-main)
  • Re: Installation sequence
    ... right server in your script. ... below require one of the portupgrade ports to be installed, ... then don't use the portsdb or pkgdb commands, ...
    (freebsd-questions)
  • Re: ftp windoze <- fc3 works fine, ftp fc3 <- fc3 doesnt work? (for me)
    ... > I would say that the Windows firewall has the high number ports open, ... >> the user to use passive mode and binary just after connecting. ... That answers all previous questions - but opens a new one, ... firewall to those ports. ...
    (Fedora)
  • Re: [RRAS] Filtering a port range (to Dusty Harper)
    ... that runs Netsh commands that open the ports. ... This could easily be made into a more usable commandline script. ...
    (microsoft.public.windows.server.networking)
  • FTP problem
    ... No matter where I am i can connect to it using ftp... ... this error no matter what i try except for certain commands such as ... I have 2 use passive mode cuz both networks are behind routers with NAT ...
    (comp.unix.bsd.freebsd.misc)

Loading