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 installed ftp server on Windows 2003, enabled 21 port in Firewall and I can connect "telnet localhost 21" but can't connect "telnet 21"

What it can be?

share|improve this question
What's the output from netstat -an – EightBitTony May 4 '12 at 9:24
up vote 3 down vote accepted

First check that the IP address you're trying to connect on is the correct one.

Ensure that the windows firewall is allowing port 21 connections on that IP address.

Check also that your ftp daemon is listening on

If you're trying to connect from a different computer to then ensure that there is no firewall in the route.

share|improve this answer
1 - IP is right, "telnet 80" works ok, problem is with 21 port – ihorko May 4 '12 at 11:39
2 - I turned off windows firewall and same problem – ihorko May 4 '12 at 11:40
3 - How to check that ftp daemon is listening on ??? Ftp service is running, "telnet localhost 21" or "telnet 21" works – ihorko May 4 '12 at 11:42
@ihorko: netstat -an | findstr ":21" should have a line that contains something like if you're listening on port 21 – Iain May 4 '12 at 12:30

Sounds like your external router/firewall isn't mapping port 21 down to that server, whether by nat, policies, mip, or whatever method you want to use. Check your wan firewall.

share|improve this answer

Also check that is a local address, that its plumbed and the interface is up. Paste the output of

netstat /rnv
ipconfig /all
share|improve this answer

Try telnet 21 from the server itself - that way you can check if it is running on this address.

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.