LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 11: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, 02:52 PM   #2
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 6.7, 7
Posts: 516

Rep: Reputation: 48
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, 07:11 AM   #3
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,687

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 07:12 AM.
 
Old 10-19-2015, 05: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


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


All times are GMT -5. The time now is 06:19 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