|
Home > Archive > IIS FTP Server > October 2004 > cannot connect..
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Rainstorms21 2004-10-02, 9:07 pm |
|
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
| |
| Bernard 2004-10-02, 9:07 pm |
| 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/
"Rainstorms21" <rainstorms21@--nospam--comcast.net> wrote in message
news:OxW8vfBqEHA.3592@TK2MSFTNGP14.phx.gbl...
>
> 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
>
>
| |
| Rainstorms21 2004-10-02, 9:07 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.
"Bernard" <qbernard@hotmail.com.discuss> wrote in message
news:uNx7l6CqEHA.3300@TK2MSFTNGP12.phx.gbl...
> 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/
>
>
>
> "Rainstorms21" <rainstorms21@--nospam--comcast.net> wrote in message
> news:OxW8vfBqEHA.3592@TK2MSFTNGP14.phx.gbl...
> it
>
>
| |
| Rainstorms21 2004-10-02, 9:07 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.
"Rainstorms21" <rainstorms21@--nospam--comcast.net> wrote in message
news:emoJmuJqEHA.868@TK2MSFTNGP10.phx.gbl...
>
> 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.
>
>
> "Bernard" <qbernard@hotmail.com.discuss> wrote in message
> news:uNx7l6CqEHA.3300@TK2MSFTNGP12.phx.gbl...
>
>
| |
|
| 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.
"Rainstorms21" wrote:
>
> 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.
>
>
> "Rainstorms21" <rainstorms21@--nospam--comcast.net> wrote in message
> news:emoJmuJqEHA.868@TK2MSFTNGP10.phx.gbl...
>
>
>
| |
| Bernard 2004-10-03, 5:55 pm |
| 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/
"Rainstorms21" <rainstorms21@--nospam--comcast.net> wrote in message
news:eNeVONMqEHA.2696@TK2MSFTNGP15.phx.gbl...
>
> 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.
>
>
> "Rainstorms21" <rainstorms21@--nospam--comcast.net> wrote in message
> news:emoJmuJqEHA.868@TK2MSFTNGP10.phx.gbl...
to[vbcol=seagreen]
>
>
| |
| Alun Jones [MSFT] 2004-10-04, 6:01 pm |
| "Elga" <Elga@discussions.microsoft.com> wrote in message
news:FE39B014-931F-44A7-9325-4CA6FA04B8E2@microsoft.com...
> You can keep your firewall up if you configure it to forward ftp ports (20
> and 21) to your server IP.
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.
> If you want to make your ftp server accesible for external users, you need
> to get an static IP address from your ISP.
.... 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.
~~~~
|
|
|
|
|