Wednesday 18 August 2010

Failed to create listen socket on port 21

Trying to set up an FTP server, Filezilla gave the following error message

Failed to create listen socket on port 21
Failed to create a listen socket on any of the specified ports. Server is not online!

From command prompt run:

netstat -abn > c:\test.txt

In the resulting text file look for a line for 0.0.0.0:21. I found that it was being used by the process inetinfo.exe which is part of IIS. Going to "Services" found FTP Publishing Service was running so disabled and restarted Filezilla FTP server.

No comments: