2

I installed ftp server on Windows 2003, enabled 21 port in Firewall and I can connect "telnet localhost 21" but can't connect "telnet 77.168.0.1 21"

What it can be?

1
  • What's the output from netstat -an May 4, 2012 at 9:24

4 Answers 4

3

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 77.168.0.1.

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

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

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.

1

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

netstat /rnv
ipconfig /all
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .