LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2006, 04:17 PM   #1
humayun
LQ Newbie
 
Registered: Feb 2006
Posts: 10

Rep: Reputation: 0
Question 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.
 
Old 05-18-2006, 05:08 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

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


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Timestamp error with FTP breog Linux - Networking 3 05-04-2009 04:42 PM
Anonymous FTP Error bloy Linux - Networking 2 02-03-2004 12:25 PM
ws-ftp client error linuxboy69 Linux - Software 1 12-11-2003 04:57 PM
ftp error! klintonray Linux - Software 8 08-02-2003 10:33 PM
ftp 500 error acid_kewpie Linux - Networking 0 10-07-2001 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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