HI, I'm using Windows 2008 R2 with IIS 7.5.
I'm using a default port 21 FTP server just fine.
Now I want to add another FTP server on port 2221.
I tried that and I can't list the folders or transfer files but I can log in.
I'm using the passvive mode of the WS_FTP pro client to connect.
It only fails when I use my public IP, if I use my local IP ex: 192.168.1 ...to connect it works.
The Windows Server 2008 R2 server firewall is on, I added the rules for port 2221 as well
as my router..still no luck.
I also tried to turn off the Windows firewall with no results.
I install FileZilla Server and was up and running in 2 minutes, but I would like everything to run from IIS.
This is the log file from WS_FTP you will see 501 Server cannot accept argument
I think this is a data channel problem?
220 Microsoft FTP Service
Host type (1): Microsoft NT
USER Amazon
331 Password required for Amazon.
PASS (hidden)
230 User logged in.
Host type (I): Microsoft NT
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (192,168,1,48,194,152).
connecting data channel to 192.168.1.48:194,152(49816)
Substituting connection address 66.66.66.666.. for private address 192.168.1.48 from PASV
Failed to connect data channel to 66.66.66.666:194,152(49816)
PORT 192,168,1,83,4,31
501 Server cannot accept argument.
Port failed 501 Server cannot accept argument.
QUIT
221 Goodbye.
Connection closed. Ready for next connection.
Thanks.