Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
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. –  Jarrod Gibson Apr 28 at 3:27

1 Answer 1

up vote 9 down vote accepted

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.

share|improve this answer
Confirmed as working for Windows Server 2012 and IIS 8... –  cederlof Jan 10 '14 at 12:46
I can confirm the exact same issue occurs in Server 2012 IIS and this solution fixes it. –  takesides Oct 6 '14 at 15:06
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 at 0:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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