LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Understanding CONNECTION REFUSED (https://www.linuxquestions.org/questions/linux-networking-3/understanding-connection-refused-473946/)

fiod 08-15-2006 01:39 AM

Understanding CONNECTION REFUSED
 
Hey,

I use ELIVE / Debian.
I am trying to set up a FTP server, via my router called AZTECH 600ew.

I keep getting connection refused, and I can't understand why.
My router settings of port forwarding are all well.

Is there a way to understand why I got the CONNECTION REFUSED?
Via some log file, or whatever else?

Thanks alot,
Fiod

KenJackson 08-15-2006 10:01 AM

Do you have an ftp daemon installed and running?

Debian has packages: ftpd, inetutils-ftpd, krb5-ftpd, muddleftpd, oftpd, proftpd, pure-ftpd, pyftpd, and a few others. Each package may log errors to it's own log file, but they are probably all in /var/log/ or a subdirectory.

This command will show you if any process is listening to the ftp port. Run it as root to see the PID and process name:
Code:

netstat -lp --ip | grep ftp
This command will show you if an ftp daemon is running (run as root):
Code:

ps aux | grep ftp


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