• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 482
  • Last Modified:

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

  • 4
1 Solution

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.
Kamran ArshadCommented:

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.


Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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?
SkycaptAuthor Commented:
I reinstalled the software and it now works.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now