3

I am setting up a virtual machine with Windows Server 2008 that utilizes Hyper-V. I am trying to set up FTP access to the machine, but I cannot connect to the FTP server from my local machine. I can ping it and access the web server portion.

This is what I have done so far:

  1. I installed the latest FTP publishing service
  2. Set up a new user named 'ftp'
  3. Added a new FTP site from within my IIS manager
  4. Specified my server's IP address (192.168.1.97), allowed SSL
  5. Set it up with basic authentication for my user 'ftp'

I also tried adding anonymous access, but I still get this error from FileZilla:

Status: Connecting to 192.168.1.97:21...
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry...

Does anyone have experience setting up an FTP server on windows server 2008? Thanks!

Anders
  • 163
  • 2
  • 7

3 Answers3

1

Check your Firewall settings on the host and make sure Port 21 is open

Andy Schneider
  • 1,543
  • 5
  • 19
  • 28
  • Turns out this was the cause of this first problem, but now my authenticated user cannot connect. I get this error now: 530 User cannot log in. – Anders Sep 09 '09 at 18:51
1

Make sure that the ftp user has access to the root folder of the ftp server.

Fred Jonas
  • 186
  • 3
  • for me this was the issue - I had to set the permissions from windows explorer - not the authentication/authorization set in IIS. – Tone Oct 04 '10 at 04:10
1

Make sure that whatever FTP server application you are using is allowed access through the firewall instead of just the ports 20-21. Passive FTP can use a whole range of ports, not just the traditional ones.

Edit: I just ran into this issue the other day when setting up an FTP server using Filezilla on 2k8 (applies to 2k3 too). I had glanced at the firewall port and application list and saw the FTP ports and Filezilla Server ... allowed. Turns out, it was the filezilla server interface allowed, and not the actual server. The symptom would be a user could log in, but would get booted after authenticating.

DHayes
  • 351
  • 2
  • 10