LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   FTP error (https://www.linuxquestions.org/questions/linux-general-1/ftp-error-445812/)

humayun 05-17-2006 04:17 PM

FTP error
 
I am trying to ftp to an linux machine on my DMZ but cannot connect to it.

C:\>ftp "IP Address"
> ftp: connect :Unknown error number

Not sure what to look for in errors? I have another machine similar to this and that allows FTP connection. I have looked in /etc/hosts.allow file but neither of them have FTP in there. One is working and the other is not.

If I needed to add it in the /etc/hosts.allow file, how would I allow it to accept ftp from any of the internal networks? Thanks.

timmeke 05-18-2006 05:08 AM

Maybe you can first try connecting to ports 20 and 21 on your FTP server.
To do this, execute:
Code:

telnet your_ftp_machine 20
telnet your_ftp_machine 21

where your_ftp_machine is the hostname of the computer in the DMZ to which you FTP.

I'm guessing the firewall is blocking FTP access. However, I can't really why this results in an unknown FTP error. It should tell you something like "access denied" or "connection closed".


All times are GMT -5. The time now is 03:28 AM.