Showing results for 
Search instead for 
Did you mean: 

vsftp error

Regular Advisor

vsftp error

Hi all,

I have just set up vsFTP on fedora 6. Everything works fine on my company?s LAN.

However, I found I can not connect FTP server from outside world (e.g. from my home machine),

I got error message like ?ftp: connect :Unknown error number?. I can ping the server machine, just cannot ftp to it.

What could cause this problem? DNS ?Thanks for any tips.


Stuart Browne
Honored Contributor

Re: vsftp error

What's your firewall look like? In particular, are you using a stateful firewall (-m state)?

Are you doing any NAT in order to get the server to work from external?
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: vsftp error


I think this is a firewall problem.

use the nmap command to check what ports are open.

nmap firewall

Steven E Protter
Owner of ISN Corporation
Ivan Ferreira
Honored Contributor

Re: vsftp error

I receive "ftp: connect :Unknown error number" if the vsftpd daemon cannot be contacted.

This most likely will be because of a firewall configuration problem, but also could be the listen_address configuration parameter in vsftpd.conf.

Check your firewall with system-config-securitylevel
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?