LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-28-2007, 10:39 AM   #1
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,318

Rep: Reputation: 124Reputation: 124
Ftp/ls "Connection timeout" - only on one host to one server


Client: Compaq Laptop running FC6, no firewall, SE-Linux disabled. Located behind corporations firewall, though.
Server: Debian etch, vhcs as hostingcontroller, proftpd. Servername: ftp.myserver.se, account pingu@city.se
Problem:
* Connecting with ftp to my account on vhcs works fine, but ls or dir shows nothing - it stands for a while then "Connection timeout". Cannot cd to existing directories, actually I can't do anything. This happens running ftp from command-prompt as well as with various ftp-gui-clients.
* But connecting to other ftp-accounts on other servers from this client and ls/dir works fine, can cd et al!
* From other computers (2 Windows, 1 Debian - 2 of them on same subnet as my client) everything works fine, there is no problem with ftp.myserver.se!

So where is the problem??

Last edited by pingu; 03-28-2007 at 10:41 AM.
 
Old 03-29-2007, 09:38 AM   #2
fayez
Member
 
Registered: Aug 2004
Location: Amman
Distribution: Red Hat
Posts: 50

Rep: Reputation: 15
Hi

The ftpd uses 2 tcp/udp ports to communicate with clients:

ftp-data 20/tcp File Transfer [Default Data]
ftp-data 20/udp File Transfer [Default Data]
ftp 21/tcp File Transfer [Control]
ftp 21/udp File Transfer [Control]

So as long as you can ftp the server using your account, and issuing commands, but without result (no data), I think you have to check firewall settings on the ftp server ftp.myserver.se, also your account privilege.
 
Old 03-30-2007, 05:24 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,318

Original Poster
Rep: Reputation: 124Reputation: 124
Thanks for your reply!
The issue is solved now: The firewall has an ftp-proxy, passive mode doesn't work
Seems that ftpclients in Windows and Debian automatically selects correct mode, ftpclients in Fedora doesn't.
So simply switching from passive to active mode fixed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow network connection, "Destination host unreachable" stefans Linux - Networking 2 11-22-2006 04:54 AM
FTP problem "connection closed by remote host" with RHEL4 and Windows 2003 hooijack Linux - Enterprise 0 03-23-2006 10:29 PM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 08:49 AM
How to install Suse 9.0 via ftp "as a virtual machine(vmware)" in windows-XP host megoon Linux - Networking 0 12-15-2003 05:53 AM
dont understand "local host name " for mandrake 9.2 internet connection oarumple Linux - Newbie 4 11-23-2003 09:02 PM


All times are GMT -5. The time now is 02:05 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration