I wanted to set up a FTP-server on a Windows2012R2-machine with IIS8. Everything went fine, however the connection was blocked by the firewall. The Windows-firewall contains ready-made rule for enabling FTP, but it did not work and I couldn't figure out what was wrong with those rules.
Well, in the end I still don't know what was wrong, but this command
sc sidtype ftpsvc unrestricted
fixed it - which I learned about here http://serverfault.com/questions/438314/iis-ftp-server-works-locally-but-cannot-connect-from-remote.