FTP not connecting

An ftp client from a machine on my local network cannot connect to the ftp server.  If I run ftp from the server it works.  Other network protocols (namely http, and ping) are working OK.

The message I get from the client is:

connecting to 192.168.1.20
connected to 192.168.1.20 on port 21
! Receive error: Blocking call cancelled

! Connection failed 192.169.1.20

This occurs regardless of the user I try to connect with.  The client has successfully connected to other ftp servers on the Internet.
psignorelliAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
alcockbaConnect With a Mentor Commented:
I've seen the error loads of times with WS FTP. If you find out what it is let me know.

All I can suggest is trying to use the Windows ftp command from a dos prompt. If that works then its definitely a WS FTP problem.

You could also try using:

tcpdump -i eth0 '(src or dst port 20) or (src or dst port 21)'

That will let you see what connections are being made.

A thought that has just occured to me is that it may be the FTP server trying a reverse DNS lookup on your clients address and timing out. Are you running a working DNS server on your linux box?
0
 
jlevieCommented:
Can other clients on your local net use ftp to that server? It could be a client problem.
0
 
psignorelliAuthor Commented:
I only have one client and one server on the network right now.  I don't think the problem is with the client though because I can connect to other ftp servers if I dial up on the Internet.
0
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
johnnypCommented:
What are the messages in the servers /var/adm/messages at the time you attempt to FTP to the server?

Have you got TCP Wrappers configured on the server for your FTP daemon?  Or any other remote access security tools for that matter!!!
0
 
Tazman040300Commented:
Did you install the FTP Server packages AnonFTP and WU-FTP when you installed Linux?

I had this same problem.

You must install these packages in order to access your linux box from an outside computer with FTP.

Regards,

Taz
0
 
psignorelliAuthor Commented:
Adjusted points from 15 to 25
0
 
psignorelliAuthor Commented:
I have already installed these packages.  I am confident my problem is a security problem.  I just can't seem to solve it.
0
 
jlevieCommented:
Can you use ftp on the Linux box itself (ftp localhost)?
0
 
Tazman040300Commented:
Maybe the WU-FTP didn't get installed correctly.

-> Taking a shot in the dark here....

I had install problems because Red Hat's GUI install won't let you select a video driver if your video card wasn't detected.  It then won't install the complete set of files needed for X windows.  So you have to use text install.

My point is...  Possibly something went wrong when you installed WU-FTP and / or AnonFTP.  

With Red Hat, if you do a clean install of WU-FTP and AnonFTP using the boot disk (Don't use GnomeRPM) / cd / upgrade current installation of Linux / select those two packages... then after their installed, start the services... you'll have clean config files.  If the service still doesn't work right out from a clean install... I'd guess you'd have a security problem on your linux box.

Hope this helps,

Regards,

Taz
0
 
psignorelliAuthor Commented:
As it turns out, it was a problem with DNS.  Thanks!!!
0
All Courses

From novice to tech pro — start learning today.