LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FTP problem (https://www.linuxquestions.org/questions/linux-networking-3/ftp-problem-49385/)

rwelch 03-12-2003 12:43 AM

FTP problem
 
I have a Linux machine (RedHat 7.0 Server type installation) connected to a Windows machine (Windows 98SE) using tcp via a cross-over cable. I can ping both machines successfully, and telnet and SSH secure shell the Linux machine successfully.

However, I have a problem with FTP. FTP was installed during the installation, but when I try to ftp using WS_ftp I get the following messages:

connecting to 192.200.200.25:21
connected to 192.200.200.25:21

then there is a long delay followed by the following message:

! Receive error: Blocking called cancelled
! Connection failed 192.200.200.25

How do I check if FTP is in fact running on the Linux machine, and if it is. is it necessary to configure it in some way.

Would appreciate some help with this problem.

AltF4 03-12-2003 10:56 AM

try a ftp connection from your linux machine ( ftp 127.0.0.1 ) to see if ftp is running.

"netstat --inet -a" might also help diagnose the problem

SlickWilly 03-12-2003 11:04 AM

Which ftp server d'you have installed?

rwelch 03-13-2003 12:50 AM

ftp problem
 
Hi

I ssh'ed to my Linux box, and did a ftp LocalHost, and after a very long delay it did respond with:

220 Linux-server FTP server (version wu-2.6.1(1)) Ready.

So it does work with ftp localhost, after a very long delay. I also tried it with ftp 192.200.200.25 (the ip address I assigned), and again it did work after a very long delay.

I also tried to Telnet to port 21 from my Windows98 machine, and much to my amazement it responded with:

220 Linux-server FTP server (version wu-2.6.1(1)) Ready.

I suppose all this should be telling me something- but I am not sure what ?

AltF4 03-13-2003 06:47 AM

Probably you should add your machines to
/etc/hosts on your linux box and retry

at least the delay should be gone.

e.g.
192.200.200.25 mylinuxbox
192.200.200.26 myclientpc

rwelch 03-14-2003 10:55 PM

ftp problem
 
Thanks

That fixed the problem :)


All times are GMT -5. The time now is 03:36 PM.