RE: Cant get connected

From: Alun Jones [MSFT] (alunj_at_online.microsoft.com)
Date: 06/24/04


Date: Thu, 24 Jun 2004 22:59:14 GMT


> From: "=?Utf-8?B?TWFyayBBc2g=?=" <anonymous@discussions.microsoft.com>
>
> I can connect to the server with Remote Desktop Connection, however
whenever
> i try to connect with a FTP client i always get the error:-
>
> 500 Connection timed out (Winsock error #10060)
>
> I know their is something wrong with the way the server is set up but i
have
> no idea how to fix this or what it is.
> I have checket that IIS is installed and FTP components and the FTP
service
> is enabled.

Because the error is prefixed by a number, that suggests that it was a
reply sent by the FTP server. ["Suggests", because some FTP clients
actually fabricate some of those replies when they don't get them.]

Because it indicates a connection timed out, we would expect that this is
an error when you're trying to do a file listing or data transfer. The FTP
client's log should be able to tell you what the most recent commands were
- my guess is "PORT" (with some parameters) followed by "LIST" or "NLST".

Now, there's any number of reasons why this failed, but the most common two
are:

1. Your client's firewall is preventing it from receiving inbound
connection attempts (which is what the PORT command requests the server to
make).
2. Your client is behind a NAT router, which isn't correctly translating
the IP address and port parameters of the PORT command. This is especially
likely if you have a cheap NAT, and/or are running the FTP server at a port
other than 21.

The possible solution to both of these is to find an FTP client that
supports the PASV command, for "passive mode" transfers. The command-line
FTP client in Windows only supports "active mode" transfers, using the PORT
command.

Alun.
~~~~



Relevant Pages

  • Re: FTP PUT with Store Unique
    ... The best list for topics related to the Communications Server IP ... command or vice versa. ... Instructs the FTP client not to include a name with the STOU ... -- If NONAME is in effect, no name string specifying a foreign_file value follows ...
    (bit.listserv.ibm-main)
  • Re: Two problems
    ... > Had this been plain telnet or SSH or anything but FTP it ... You could move the FTP server to port 2000 and ... FTP uses a command connection and any number of data connections. ... the server responds to a PASV command with a reply that says ...
    (comp.lang.pascal.delphi.misc)
  • Re: FTP Error 426
    ... This command tells the server to abort the previous FTP ... Out-of-band data may be used for whatever purpose an application may have for it. ...
    (bit.listserv.ibm-main)
  • Re: Microsoft FTP Server problem on W2K?
    ... I have technical responsibility for this FTP implementation, ... Since PASV voids PORT, the client side ... connect to the server from" isn't implied by the text of the RFC. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Some questions
    ... > using my ftp software behind my router. ... > issued to server by the client. ... When PORT is used: ... > Can you give me a command line used in a browser to explain me what is the ...
    (comp.security.firewalls)

Loading