all groups > iis ftp > october 2004 >
You're in the

iis ftp

group:

cannot connect..


cannot connect.. Rainstorms21
10/1/2004 8:35:33 PM
iis ftp:
Hello,
I installed IIS and FTP services on my computer and set up the default ftp
site. I can ftp and log in to the machine using localhost but when I goto
another machine, I cannot.
I can ping the IP address of the ftp server, but when I try to ftp to it, it
lags while it says "Connected to..."
then it says "Connection closed by remote host".

Can someone advise me? Thanks
R

Re: cannot connect.. Bernard
10/2/2004 11:19:33 AM
a) can you ping your server from remote machine ?
b) is the replied IP correct ?
c) any firewall/router in between ? or is it same lan?
d) give more detail, e.g. OS, ftp client software and etc.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: cannot connect.. Rainstorms21
10/2/2004 12:19:21 PM

Sorry about that...
a) yes, I can ping from the remote machine, IP is correct
c) they are on the same lan and there is a firewall on the ftp server
d) both are running windows xp and I was just using the command prompt to
open the ftp connection

I just tried turning off the firewall and it connected! is there a way I can
keep the firewall up for this to work?
Thanks.


[quoted text, click to view]

Re: cannot connect.. Elga
10/2/2004 4:35:04 PM
You can keep your firewall up if you configure it to forward ftp ports (20
and 21) to your server IP.

If you want to make your ftp server accesible for external users, you need
to get an static IP address from your ISP.

Elga.

[quoted text, click to view]
Re: cannot connect.. Rainstorms21
10/2/2004 5:03:13 PM

actually...
the ftp worked inside my wireless lan. but no one externally can reach it
because the IP address is internal. How can I find a way for ppl outside the
lan to reach it?
Thanks.


[quoted text, click to view]

Re: cannot connect.. Bernard
10/4/2004 12:28:31 AM
Make sure the required ports are open, read
Information About the IIS File Transmission Protocol (FTP) Service
http://support.microsoft.com/?id=283679


--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: cannot connect.. Alun Jones [MSFT]
10/4/2004 9:43:23 AM
[quoted text, click to view]

No. That's not correct, and could potentially cause harm, as it opens up an
incoming channel that will not be used by the component you are trying to
enable.

Port 21 - yes, this one does need to be allowed for incoming connection
requests.
Port 20, however, needs to be allowed for _outgoing_ connection requests -
the FTP server, in active mode, will bind to its port 20 before connecting
out to the client's random ephemeral port.
In passive mode, the FTP server will listen for incoming connections on a
range of ports, by default from 1024 - 5000 (that can be changed to a
different range) - it is that range that you will need to forward incoming
requests through.

As Bernard has also posted, the page at
http://support.microsoft.com/?id=283679 gives you more detail on this.

[quoted text, click to view]

.... or a dynamic DNS listing for a name. I've run my home connection using
a dynamic IP address quite successfully for many years, just by using one of
many dynamic DNS services. [Look up "dynamic DNS" in your favourite search
engine to find several]

Alun.
~~~~

AddThis Social Bookmark Button