Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm in the process of setting up a new server running Ubuntu 9.10 and I need to be able to access my web directory via FTP. I've installed proftpd, opened up port 21 and made sure it was up and running. Everything seems good, but when I try to connect via FTP from my personal computer to the server it times out each time. I've been stuck on this issue for a while now and I would appreciate any help. Any ideas???

share|improve this question
up vote 1 down vote accepted

Are you able to connect to the server's IP from the server itself?

Please post output of netstat -na | grep :21 to make sure it is, indeed, listening on the right IP address.

share|improve this answer
I did that and it says tcp 0 0* LISTEN I'm not sure what that means? – mike Apr 22 '10 at 2:29
this is a good sign. This means that it is listening on all available IP addresses. Are you running iptables on that server? If so, please explain your setup. Is there a NAT? – solefald Apr 22 '10 at 2:32
Yes, I am running iptables. I think this might be where the problem is... I don't know if I opened port 21 correctly. Any advice on how I can do that correctly? – mike Apr 22 '10 at 2:40
please posts output of iptables -vnL | grep 21 – solefald Apr 22 '10 at 3:17
I got it working. YOu were spot on about the iptables. Thanks! – mike Apr 22 '10 at 3:17

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.