Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-01-2009, 08:06 AM   #1
raj k yadav
LQ Newbie
Registered: Dec 2008
Posts: 27

Rep: Reputation: 2
ftp not working on virtual machines.

I am a beginner to linux and have installes two virtual machines. I am trying to connect machine2 from my ftp server. when i do ftp from sever its saying connection refused.

And when i try it from machine2 to server its saying no route to host.

Pls tell me where I have mistaken.

Thanks in Advance
Old 02-01-2009, 09:09 AM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Clarity would help a bit here.

I am guessing you are trying to FTP from your virtual machines (I'll call em VMs to be quick) to a completely different server hosting an FTP Daemon? If their is a network connection between the two (testible by pinging one from the other or using tracert) then it would guess it would be a firewall issue or a closed port along the line. It would help if I could understand the situtation a little better. Can the FTP server be properly FTPed from other machines?
Old 02-08-2009, 11:15 AM   #3
raj k yadav
LQ Newbie
Registered: Dec 2008
Posts: 27

Original Poster
Rep: Reputation: 2
I have disabled iptables with "service iptables stop" on both the machines. I am able to ping both the machines each other. Instead of root now i am trying to login from other user and getting the following msgs:

1. From server " ftp
ftp:connect:connection refused

2. From 2nd machine "ftp
connected to
500 OOPS:vsftpd:cannot locate user specified in chown_username:whoever.

Pls suggest the resoltion.
Old 02-13-2009, 09:59 AM   #4
raj k yadav
LQ Newbie
Registered: Dec 2008
Posts: 27

Original Poster
Rep: Reputation: 2
Gurus pls help me out.
Old 02-14-2009, 05:02 AM   #5
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 781
Blog Entries: 6

Rep: Reputation: 75
go to ftp server itself do
# ftp localhost

if not work try restart the ftp daemon and check with netstat -tanp |grep 21


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
Connect two virtual linux machines via virtual USB or serial WebBeing Linux - General 4 07-22-2008 07:26 AM
Virtual Machines badsheriff Linux - Newbie 9 07-20-2008 04:44 PM
virtual machines fazliddin Linux - Newbie 3 04-15-2008 01:22 AM
Accessing FTP site using FTP Clients s/w on XP machines. munirg2003 Linux - Security 5 06-26-2007 02:36 AM
Virtual Machines Berticus Linux - Newbie 8 10-18-2005 12:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

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