LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2015, 01:26 PM   #1
Ritz3127
LQ Newbie
 
Registered: Apr 2014
Posts: 7

Rep: Reputation: Disabled
ftp: connect: no route to host


I have two VM's on a Redhat 7 Base machine and installed Redhat 6 on both machnies. Trying to use FTP. I can ping both each other.
VSFTPD is installed,
firewall is enabled.
vsftpd.conf is also updated for anonymous user login.
I could login using anonymous user.
while uploading file
I am getting a message as ftp: connect: no route to host
 
Old 04-06-2015, 01:34 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
What about selinux? Is selinux enabled? If not then you can give following command a try:

Code:
insmod /lib/modules/`uname -r`/kernel/net/netfilter/nf_conntrack_ftp.ko
Once done try to FTP and run ls command and it should show you the listing.

If the command works then you can put this entry in /etc/rc.d/rc.local to make sure that system load this module everytime after reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ftp: connect: No route to host onkarlale Linux - Networking 2 08-21-2013 11:40 PM
ftp: connect: No route to host dwarf007 Linux - Networking 15 03-22-2013 03:55 PM
telnet: Unable to connect to remote host: No route to host grob115 Linux - Networking 3 07-30-2010 11:18 AM
ftp: connect: No route to host agki Linux - Networking 2 03-09-2005 05:25 PM
ftp connect: no route to host dominant Linux - Networking 4 09-07-2004 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration