FTP timeout but SSH is working?
        Posted  
        
            by 
                nmarti
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by nmarti
        
        
        
        Published on 2012-09-10T15:02:20Z
        Indexed on 
            2012/09/10
            15:39 UTC
        
        
        Read the original article
        Hit count: 230
        
I have a problem in my server, when I try to connect via FTP to a domain, the connexion is VERY slow, and I get timeouts just listing files in a directory.
When I try to connect to the domain folder using the root user account via SSH, it works fine, and I can download the files without problem.
What can be wrong? I tried to reboot the server, also the office router, and nothing...
It is a fedora core 7 server with proftpd. Can it be a filesystem problem? Thanks.
CONNECTION LOG:
Cmd: MLST about.php
250:  Start of list for about.php
      modify=20120910092528;perm=adfrw;size=2197;type=file;UNIX.group=505;UNIX.mode=0644;UNIX.owner=10089; about.php
     End of list
Cmd: PASV
227: Entering Passive Mode (***hidden***).
Data connection timed out.
Falling back to PORT instead of PASV mode.
Connection falling back to port (PORT) mode.
Cmd: PORT ***hidden***
200: PORT command successful
Cmd: RETR about.php
Could not accept a data connection: Operation timed out.
© Server Fault or respective owner