Solved

FTP not connecting

Posted on 2000-03-27
10
534 Views
Last Modified: 2010-03-18
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.
0
Comment
Question by:psignorelli
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2662607
Can other clients on your local net use ftp to that server? It could be a client problem.
0
 

Author Comment

by:psignorelli
ID: 2662757
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
 
LVL 1

Expert Comment

by:johnnyp
ID: 2663429
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Expert Comment

by:Tazman040300
ID: 2682180
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
 

Author Comment

by:psignorelli
ID: 2684269
Adjusted points from 15 to 25
0
 

Author Comment

by:psignorelli
ID: 2684270
I have already installed these packages.  I am confident my problem is a security problem.  I just can't seem to solve it.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2684676
Can you use ftp on the Linux box itself (ftp localhost)?
0
 
LVL 1

Accepted Solution

by:
alcockba earned 25 total points
ID: 2693037
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
 

Expert Comment

by:Tazman040300
ID: 2694248
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
 

Author Comment

by:psignorelli
ID: 2703992
As it turns out, it was a problem with DNS.  Thanks!!!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question