Find the answer to your Linux question:
Results 1 to 9 of 9
Hello, When I try to FTP to some remote machine I get the error: ftp: connect: No route to host what is the problem? thanks...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    38

    FTP - connect: No route to host

    Hello,

    When I try to FTP to some remote machine I get the error:
    ftp: connect: No route to host

    what is the problem?

    thanks

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    No route to host means that there is no path to that machine from yours. Is this machine on your network?

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    38
    No it's not on my network. It's even in a different country. What can I do to access it?

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you can find where the problem is if you use the command tracepath/traceroute/tracert

    if the problem is outside your network there isn't anything you can do most likely, for one thing the server could be down

  5. #5
    Just Joined!
    Join Date
    May 2008
    Posts
    38
    When I access that machine, and then do FTP, it doesnt seem to have problems (but I dont know how to download the files to my local computer if im using ftp from within that machine. but when I use ftp from my local machine it times out :-S

    that is, this works

    ssh -X id@x.y.z
    ftp x.y.z


    but this doesnt
    ftp x.y.z

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you can use scp to copy files, is the ftp server listening? is there a firewall in place?

  7. #7
    Just Joined!
    Join Date
    May 2008
    Posts
    38
    When I did:

    ssh -X id@x.y.z
    ftp x.y.z
    mget *

    the files were not downloaded into my local machine although I was prompted with a successful download message!
    Maybe they were downloaded to the remote machine instead of the local since I ssh-ed before ftp-ing?

    When I use:
    ftp x.y.z directly I get 'ftp: connect: No route to host'

    thank you!

  8. #8
    Just Joined!
    Join Date
    May 2008
    Posts
    38
    yaaay it works now! i was supposed to use SFTP instead of just FTP thaaaaaaaanks

  9. #9
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    ssh means you were running that command on the remote host and downloading on the remote host

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...