Link to home
Start Free TrialLog in
Avatar of Skycapt
SkycaptFlag for United Kingdom of Great Britain and Northern Ireland

asked on

FTP error on port 21

hello

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 "192.168.2.2"
[22:44:20] Connecting to 192.168.2.2 Port: 21
[22:44:20] Connected to 192.168.2.2.
[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

Avatar of sparky2156
sparky2156
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi,

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?
Avatar of Skycapt

ASKER

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.
Hi,

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.

nmap.org

Avatar of Skycapt

ASKER

Hi, I'm using IIS6 on windows server. Nmap(zenmap) doesn't show anything other than port 80 which is my website port.
Avatar of Skycapt

ASKER

any other ideas for this?
ASKER CERTIFIED SOLUTION
Avatar of Skycapt
Skycapt
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial