I'm trying to setup an FTP server on Windows 2008 Server. I can connect locally:

C:\>ftp localhost
Connected to WebHead1
220 Microsoft FTP Service

However, when I try to connect from remote, it doesn't work:

~>ftp x.x.x.x
ftp: Can't connect to `x.x.x.x': Operation timed out
ftp: Can't connect to `x.x.x.x'

I've tried everything I can think of with the settings. The FTP server is bound to all unassigned IPs and listening on port 21. I've also checked "FTP Server" in the firewall settings. Nothing appears in the FTP log files. I'm totally out of ideas!

  • Gents, I've attempted the advice you had here to discover that Passive mode is enabled if you go to Firewall Support for the FTP site. If you enter the public IP address in the Firewall Support, it will enable Passive Mode for the FTP site. If you remove the IP address from Firewall Support, it will start working. You will need to make sure to check both the server level and the ftp site level. – user284035 Apr 28 '15 at 3:27

Figured it out. The issue is documented here.

Basically, you have to run:

sc sidtype ftpsvc unrestricted

And then restart the FTP service:

net stop ftpsvc & net start ftpsvc

From what I can tell, it's a bug in R2. Go figure.

| improve this answer | |
  • Confirmed as working for Windows Server 2012 and IIS 8... – cederlof Jan 10 '14 at 12:46
  • 3
    I can confirm the exact same issue occurs in Server 2012 IIS and this solution fixes it. – takesides Oct 6 '14 at 15:06
  • 1
    This solution works for Windows Pro 7 FTP Server. thanks. – jacouh Oct 26 '14 at 17:52
  • Confirmed still necessary in Aug '15, and has worked for me. – frumbert Aug 24 '15 at 0:59
  • 1
    didn't solve the problem. any other advice? – Nahum Aug 22 '16 at 9:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.