LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   unable to connect to ftp server(pure-ftpd) with ssl/tls enabled (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-connect-to-ftp-server-pure-ftpd-with-ssl-tls-enabled-4175526192/)

rtz 11-22-2014 10:29 AM

unable to connect to ftp server(pure-ftpd) with ssl/tls enabled
 
i have two machines inside my private network one running ubuntu 10.04 with pure-ftpd ftp server with ssl/tls enabled and other is running windows 7 os.i have configured my ftp server for ssl/tls for security reasons but when i am trying to connect to my ftp server running on ubuntu from filezilla ftp client running on windows 7 OS with the following settings i am unable to login with the provided username and password.

host: hostname
port:21
protocol: ftp-file transfer protocol
encryption: require explicit FTP over TLS
logon type:normal
username:xxxxx
password:XXXxx

please help me troubleshoot this.

nini09 11-24-2014 03:07 PM

What's connection status report on GUI? What error is reported?

ichrispa 11-24-2014 03:21 PM

Although I have the same question an nini09, here are sone generic tips:

On the client machine, try using telnet to connect to port 21 of the server. If it connects, you do not have a firewall issue and the server is principally accepting the connection. If that is the case, check the server logs as to why the connection does not work.

If you cannot connect to the server, make sure that it is running (ps ax | grep ftp), listening on port 21 (netstat -natup) and you firewall setting permit the connection (iptables -L -n | grep 21). Also make sure you have the iptables_contrack module loaded, as ftp uses dynamic port negotiation for the data connection (the port is not explicitly mentioned in the iptables configuration).

For more specific advice, as nini09 already stated, the actual error occuring would be helpful (timeout, connection refused, tls error, etc.).


All times are GMT -5. The time now is 04:25 PM.