FTP error on port 21


I am trying to set up an ftp site I cant use port 21 because it's in use but I cant find out what is using it and i get the following log entry. Any ideas. I used tcpview and net stat but nothing shows up.
[22:44:19] Resolving host name ""
[22:44:20] Connecting to Port: 21
[22:44:20] Connected to
[22:44:20] 220 (¯`·.¸(¯`·.¸(¯`·.¸(¯`·.¸Welcome to this nice Server¸.·´¯)¸.·´¯)¸.·´¯)¸.·´¯)
[22:44:20] USER jj
[22:44:20] 331 Also deinen Namen mag ich schonmal...
[22:44:20] PASS (hidden)
[22:44:20] 530 Not logged in.
[22:44:20] Active Help: http://www.smartftp.com/support/kb/51
[22:44:20] QUIT
[22:44:20] 221 Goodbye!
[22:44:20] Client closed the connection.
[22:44:20] Connect failed. Waiting to retry (30s)...
[22:44:24] Aborted by user.

Open in new window

Who is Participating?
SkycaptConnect With a Mentor Author Commented:
I reinstalled the software and it now works.

If you run the following command from a command prompt:

netstat -a

it will list all of the open connections to ip addresses and the ports they are operating on. This may help you troubleshoot the issue.

However, is the default ftp site also running which may be interfering?
SkycaptAuthor Commented:
Hello sparky,
I have run netstat -a already, but its not listed, which I thought was odd, the default ftp site was (stopped) on port 21 if I create or swich to another port they work.
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Kamran ArshadIT AssociateCommented:

Which FTP server are you using? Is it that there are two ftp servers running in parallel? You can use NMAP to check the port occupation.


SkycaptAuthor Commented:
Hi, I'm using IIS6 on windows server. Nmap(zenmap) doesn't show anything other than port 80 which is my website port.
SkycaptAuthor Commented:
any other ideas for this?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.