Need of port 21 on Secure mode?

Sep 29, 2010 at 10:20 AM

Hi,

I am using Alex FTPS to connect to Filezilla server in secure mode.
I am using the following code to connect to the server:

FTPSClient ftpsClient = new FTPSClient();
ftpsClient.Connect(Host, new NetworkCredential(User, Password), ESSLSupportMode.CredentialsRequired | ESSLSupportMode.DataChannelRequested, VerifyCertificate);

But it fails to connect to the server. I have the port 990 open in the firewall but the port 21 is blocked.

My question is do I need to have port 21 also opened?

Regards,
Vaibhav