Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 127Reputation: 127
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:, account
* 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!

So where is the problem??

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

Rep: Reputation: 15

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, also your account privilege.
Old 03-30-2007, 05:24 AM   #3
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
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.


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration