I have changed the ftp port 21 to 1024 in IIS & restarted the service. Server is running behind firewall. I have made necessary changes in firewall as well. but still when i connect my ftp client its shows below error.
Status: Connecting to xxx.xxx.xxx.xxx:1024...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER user1
Response: 331 Password required for user1.
Command: PASS *********
Response: 230 User logged in.
Command: SYST
Response: 215 Windows_NT
Command: FEAT
Response: 211-Extended features supported:
Response: LANG EN*
Response: UTF8
Response: AUTH TLS;TLS-C;SSL;TLS-P;
Response: PBSZ
Response: PROT C;P;
Response: CCC
Response: HOST
Response: SIZE
Response: MDTM
Response: REST STREAM
Response: 211 END
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (xxx,xxx,xxx,x,192,99).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: Connection timed out
Error: Failed to retrieve directory listing
Do i need to make any other changes in system config or registry. The reason behind changing port number is to avoid attacks on FTP as well as HTTP