I have a Win Server 2012 R2 server that has IIS installed and with an FTP site created, I also created a user to use FTP.
I configured the external port for FTP connection on the firewall to port: 2121 because I can not be using port 21.
From my machine I did some tests using telnet:
telnet meuIpExterno 2121
Answer:
220 Microsoft FTP Service
But when trying to connect through FileZilla or even with the ftp command in cmd I can not execute any commands.
For FileZilla I have this return:
Status: Connecting 177.36.237.32:2121 ... Status: Connection established, waiting for welcome message ...
Status: Identified
Status: Obtaining Folder List ...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Answer: 227 Entering Passive Mode (177,36,237,32,192,41). Command: LIST
Answer: 150 Opening BINARY mode data connection.
Error: The data connection can not be established: ECONNREFUSED - Connection refused by server
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to get list of folders
I have tested several things without success. I'm getting connected but I do not have access.