LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP not happening on LINUX host (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-not-happening-on-linux-host-4175556424/)

rustagialok20001 10-17-2015 10:40 AM

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

vincix 10-17-2015 01:52 PM

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?

berndbausch 10-18-2015 06:11 AM

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

rustagialok20001 10-19-2015 04:24 AM

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


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