21

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!

Mike Christensen
  • 965
  • 1
  • 11
  • 21
  • 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. –  Apr 28 '15 at 03:27

1 Answers1

43

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.

davetapley
  • 133
  • 7
Mike Christensen
  • 965
  • 1
  • 11
  • 21