The server is ubuntu linux with vsftpd.

Tried connecting remotely with windows machine using FileZilla and with Dreamweaver and both have errors. FileZilla keeps saying "Connection established, waiting for welcome message...", "Error: Connection timed out", "Error, Could not connect to server".

I have no problem connecting to the server with HTTP.

The vsftpd.log on the server shows multiple connection attempts, like such:

Wed Nov 16 19:26:08 2011 [pid 2] CONNECT: Client "xxx.xx.xxx.xx"
Wed Nov 16 19:25:24 2011 [pid 2] CONNECT: Client "xxx.xx.xxx.xx"
Wed Nov 16 19:24:33 2011 [pid 2] CONNECT: Client "xxx.xx.xxx.xx"
Wed Nov 16 19:24:20 2011 [pid 2] CONNECT: Client "xxx.xx.xxx.xx"
Wed Nov 16 19:25:56 2011 [pid 2] CONNECT: Client "xxx.xx.xxx.xx"
Wed Nov 16 19:28:15 2011 [pid 2] CONNECT: Client "xxx.xx.xxx.xx"
Wed Nov 16 19:28:15 2011 [pid 1] [myusername] OK LOGIN: Client "xxx.xx.xxx.xx"

(where x's are my ip address)

It's strange that the log entries are not in chronological order. I also don't know if the pid is significant, but it's 2 for all the failed attempts and 1 for the successful one at the end.

I have tried restarting vsftpd using sudo /etc/init.d/vsftpd restart and sudo restart vsftpd. I'm not getting consistent results with that. Sometimes it seems to work, other times not. Does anyone have an idea what the problem might be?

Thank you

EDIT: ALSO, It's happened that I connect with Filezilla, and once the connection is established I can continue exploring the file system, but if I try to establish a new connection with Dreamweaver, it will fail. And as soon as I disconnect Filezilla, reconnecting will not work. I.E. Once the connection is established, everything seems to keep on working. The problem seems to only affect new connections.

link|improve this question

54% accept rate
Perhaps I have come up with a solution to this. As long as I leave myself logged in to the terminal, FTP works without a problem. But when I'm logged out it doesn't (unless the FTP session was started before logout). But I don't understand why HTTP would work fine and VSFTPD would not. – Buttle Butkus Dec 8 '11 at 21:24
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.