Summary: Connect no route to host

From: Sudheesh Krishnankutty <sudheesh_at_softjin.com>
Date: Mon May 28 2001 - 07:11:57 EDT
This is a multi-part message in MIME format.
--------------BAA5F446D582BE9681AF7CE1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi sunmanagers,

Thank you for all you replied.

I got many mails regarding this problem.  I am including the most appropriate
ones in this summary.

THE SOLUTION FOR MY PROBLEM IS:

after establishing connection we have to turn off the passive mode by typing
passive in the ftp prompt
ftp>passive

when the passive mode is off, the ftp transfer will be done in port mode.

   Why passive mode is not working is because in passive mode the client will
try to receive data thru random ports.
Most of the firewall will not allow this.  They will allow only standard data
port for ftp.  Once you are in port mode,
the ftp will use the standard port for communication and will not be blocked by
firewalls.

Once again thank you Richard Zoch :

 The quote pasv was not working for me.  But his answers were leading to the
correct answer.

regards

sudheesh

Richard Zoch wrote:

> Try forcing it to passive mode after connecting. [ ftp> quote pasv ]
>
> It sounds like the remote server is sending you data on another port and the
> firewall is blocking it.
>
> -----Original Message-----
> From: sudheesh [mailto:sudheesh@softjin.com]
> Sent: Monday, May 21, 2001 6:21 AM
> To: sunmanagers@sunmanagers.org
> Subject: ftp:connect: no route to host
> Importance: High
>
> Hi all,
>
> I am facing problem with ftp.
>
> I have a static ip (a.b.c.d) - This is the default gateway for our
> network.
>
> My machines are using internal ip address.
>
> I have my linux machine running wu-ftpd.
>
> service ftp
> {
>         disable = no
>         socket_type             = stream
>         wait                    = no
>         user                    = root
>         server                  = /usr/sbin/in.ftpd
>         server_args             = -l -a
>         only_from               = .ourclient.com
>         log_on_success          += DURATION USERID
>         log_on_failure          += USERID
>         nice                    = 10
>         id                      = ftp-client
>         bind                    = a.b.c.d
> }
>
> service ftp
> {
>         disable = no
>         socket_type             = stream
>         wait                    = no
>         user                    = root
>         server                  = /usr/sbin/in.ftpd
>         server_args             = -l -a
>         only_from               = .ourdomain.com.
>         log_on_success          += DURATION USERID
>         log_on_failure          += USERID
>         nice                    = 10
>         id                      = ftp-internal
>         bind                    = a.c.d.e (internal - ip)
>
> }
>
> When I try to connect to my client's ftp server, I am able to establish
> the connection but I am not able
> to do 'ls' or 'get' or 'put'.  I am able to do 'cd'.
>
> When I say
> ftp>ls
> It says entering passive mode (a1,b1,c1,d1,p1,p2)
> then ftp: connect: no route to host
>
> I am able to do traceroute to the client's machine.
>
> Can anyone please help me to solve this problem.
>
> I am not getting this PORT mode PASV mode funda.
>
> There are no firewall rules set.
>
> thanks in advance
>
> sudheesh
>
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers

--------------BAA5F446D582BE9681AF7CE1
Content-Type: text/x-vcard; charset=us-ascii;
 name="sudheesh.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Sudheesh Krishnankutty
Content-Disposition: attachment;
 filename="sudheesh.vcf"

begin:vcard 
n:Krishnankutty;Sudheesh
tel;fax:91-80-5234643
tel;home:91-487-338217
tel;work:91-80-5234641
x-mozilla-html:TRUE
org:Softjin Infotech Pvt Ltd;Electronics Design Automation
version:2.1
email;internet:sudheesh@softjin.com
title:Software Engineer
adr;quoted-printable:;;No. 227/70/A, Sigma Arcade,=0D=0AMarathahalli,=0D=0AAirport Road;Bangalore;Karnataka;560037;India
fn:Sudheesh Krishnankutty
end:vcard

--------------BAA5F446D582BE9681AF7CE1--
Received on Mon May 28 12:11:57 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:55 EDT