Latest LQ Deal: Linux Power User Bundle
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 10-17-2015, 10:40 AM   #1
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 (AIX server) --------------->successful
ftp (Windows server)---------->Connection refused

From Windows server.

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

421 service not available
Connection closed by remote host

From AIX server

ftp server) ----------------->Unsuccessful with the following error

421 service not available

ftp server)------------->Unsuccessful with the following error

ftp: connect: connection refused

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

Old 10-17-2015, 01:52 PM   #2
Registered: Feb 2011
Distribution: Centos 7
Posts: 872

Rep: Reputation: 70
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
Senior Member
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,692

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
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
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.




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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration