I have an issue with an FTP site for one of our clients, I need to configure it to use FTPS, I have setup the FTP site in IIS on Windows Server 2012 R2 and I have select the certificate I want to use under FTP SSL Settings, when I connect to it using WINSCP it says TLS Connection Establisted which looks good however a couple of seconds later I get the following error message:
Server sent passive reply with unroutable address <INTERNAL IP ADDRESS>, using host address instead.
Timeout detected. (data connection)
Could not retrieve directory listing
Error listing directory '/'.
You did not configure the FTP server with its external IP address:
You also did you allow the FTP server though Windows Firewall:
I'm not too sure what is causing this because if I switch to just FTP with no encryption the connection works without issue, any ideas?
This is explained here:
You may want to also read the whole articles linked above, not just the respective sections.
Thanks for the prompt response, I have checked what you've suggested and still doesn't work, so under Advanced Windows Firewall ports 21, 990 and 1024-65535 are open and enabled (icons are in green)
Under FTP Firewall Support in IIS data channel port range is set to 5000-5100 and has the companies public IP address of their firewall.
I have restarted the Microsoft FTP service and it won't connect from an external location with the same error message.
If you connect from a computer internally it works fine.