LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp not working on virtual machines. (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-not-working-on-virtual-machines-701413/)

raj k yadav 02-01-2009 08:06 AM

ftp not working on virtual machines.
 
Hi
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

r3sistance 02-01-2009 09:09 AM

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?

raj k yadav 02-08-2009 11:15 AM

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 10.0.0.22
ftp:connect:connection refused
ftp>

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

Pls suggest the resoltion.

raj k yadav 02-13-2009 09:59 AM

Gurus pls help me out.

routers 02-14-2009 05:02 AM

go to ftp server itself do
# ftp localhost

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


All times are GMT -5. The time now is 02:18 AM.