Tuesday, October 25, 2011

Can't connect to proftpd!?

i'm running debian sarge and all of a sudden proftpd isn't working. it gives me %26quot;remote host closed the connection.%26quot; is it the firewall? how do i change the firewall settings? i already ran /etc/init.d/proftpd restart, reload, start, stop, killed the process id and started again. no luck.Can't connect to proftpd!?Yeah it could be the firewall; if possible try turning off the firewall and then test again.



If the firewall is off and you're able to successfully connect, you'll need to tweak the firewall configuration to see what ports will be necessary to open through the firewall. You should read the man pages on whatever firewall you're using (e.g. ipfw, ipchains) or try to find yourself a good site on Debian and see if the examples there can help you pinpoint the problem and find a solution.Can't connect to proftpd!?Well there are two possibilities. One is the firewall that forces a connection to close. You need to open the desired port from it's configuration file.

The second could be about proftpd.conf. You can get something mixed up there and you cannot log on with your local account or like an anonymous user.

I personally recommend to start using another ftp server callsed vsftpd. It's better and i had less problems with it.
  • pets
  • handling exceptions
  •