Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
What's the output from netstat -an –  EightBitTony May 4 '12 at 9:24
add comment

4 Answers 4

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

share|improve this answer
    
1 - IP is right, "telnet 77.168.0.1 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 77.168.0.1 ??? Ftp service is running, "telnet localhost 21" or "telnet 127.0.0.1 21" works –  ihorko May 4 '12 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 –  Iain May 4 '12 at 12:30
add comment

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
add comment

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
share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.