LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-17-2015, 10:40 AM   #1
rustagialok20001
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
FTP not happening on LINUX host


Hello All,

I am new to linux.

I want to do a FTP transfer from a Linux Server to a Windows server.

When I do a ftp from my Linux server to an AIX server its is successful.

From Linux server.

ftp 10.208.5.20 (AIX server) --------------->successful
ftp 10.208.5.31 (Windows server)---------->Connection refused

From Windows server.

ftp 10.208.5.20(AIX server)--------------->successful
ftp 10.208.5.18 (Linux server)------------->unsuccessful with following error.

Connected 10.208.5.18
421 service not available
Connection closed by remote host

From AIX server

ftp 10.208.5.18(Linux server) ----------------->Unsuccessful with the following error

Connected 10.208.5.18
421 service not available

ftp 10.208.5.31(Windows server)------------->Unsuccessful with the following error

ftp: connect: connection refused

Please let me know what can I check to get this resolved.

Regards
 
Old 10-17-2015, 01:52 PM   #2
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
So I guess you've got to take it one at a time. You haven't provided some basic information. What distribution and version of linux are you using? What do you use for the FTP server? pure-ftpd, vsftpd, or what?
 
Old 10-18-2015, 06:11 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The Windows server refuses connection. Looks like a firewall problem.
The Linux server doesn't seem to have the ftp server running.

Last edited by berndbausch; 10-18-2015 at 06:12 AM.
 
Old 10-19-2015, 04:24 AM   #4
rustagialok20001
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Resolved after modifying hosts.allow file

Hello All,

The problem was resolved after I added All users to vsftpd service in /etc/hosts.allow file using following command.

vsftpd:ALL

Regards,
Alok
 
  


Reply



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
how to use of ftp in linux to copy ssh pub key to another host raj_hcl1986@rediffma Linux - Newbie 1 11-04-2008 04:24 PM
What linux based tool can help me monitor (http, ftp, etc) usage BY HOST? lumix Linux - Security 7 10-10-2007 02:33 PM
"cd ~" in ftp is not happening santhosh.bachu Linux - Software 2 08-11-2006 10:48 AM
FTP No Route to Host JShadow Linux - Networking 2 03-11-2005 02:59 AM
FTP Between VMware and Linux Host sudhir Linux - Networking 4 02-24-2003 05:33 AM

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

All times are GMT -5. The time now is 04:26 PM.

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
Open Source Consulting | Domain Registration