The follwoing error in FTP client appears when accessing with
Implicit over FTPS:
Status: Resolving address of server.hostname Status: Connecting to 220.127.116.11:990... Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
FTPS does not listen on port 990 permanently as secure connection initiates via port 21 first.
After establishing the connection to port 21 to secure an FTP session, a client application sends the command
AUTH SSL according to RFC 2228. Then port 990 is opened and secure connection is established.
Set the FTP client to use "
Require explicit FTP over TLS" and standard FTP protocol on port 21 for connection.
Then check FTPS connection with following steps:
Initiate FTP session on the server
# openssl s_client -connect 127.0.0.1:21 -starttls ftp
Connect using secure tunnel:
# lftp lftp :~> set ftp:ssl-force true lftp :~> connect ftp.example.com lftp ftp.example.com:~> login <username>
Connect via Filezilla:
Refer to establish Explicit FTPS: https://wiki.filezilla-project.org/SSL/TLS