Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

- I have encountered a weird error while setting up the FTP for my Windows Server 2008 R2.

- After finishing the setting up of the FTP, i tried starting it, as it was OFF by default whereas i think it should be started by default.

After setting up FTP

- On trying to start this ftp, i encountered an error saying "FTP cannot be started. Another FTP site may be using the same port".

**On trying to start the FTP**

- As there is not other ftp site other than this one, i can't figure it out.

- Yes off course i tried netstat -a, and found out that the port number 21 is already listening, but i don't see any ftp site running on my IIS console.

enter image description here

- Can anyone please help me out, that how to resolve this problem or atleast let me know how to stop the service which is listening at port 21 so it stops listening anymore.. so then i can set this current ftp site to listen on port 21.

share|improve this question

You can use the netstat -anbcommand to see which process is listening on port 21.

Be sure to run that from an elevated command-line.

Edit: For clarification, here is what the -anb option does:

  • a Displays listening ports as well as open connections
  • n Doesn't attempt to resolve host names and port numbers (makes it much faster)
  • b Tries to display the process associated with each specific socket.
share|improve this answer

If something else is using the port and you need it to still run or can't change it you can bind the FTP site to another IP address and use the FTP port on that IP address

Open IIS Manager. In the Connections pane, expand the Sites node in the tree, and then click to select the site for which you want to add a binding.In the Actions pane, click Bindings. In the Site Bindings dialog box, click Add. In the Add Site Binding dialog box, add the binding information and then click OK

Think you may need to download the FTP Server through Web Installer to be able to do this for FTP sites.

share|improve this answer

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.