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 have a VPS, CentOS, was set up automatically with HyperVM.

I set up the FTP connection with lxadmin.

I've been logging into my server via FTP for weeks.

Today it says:

Status: Connecting to
Status: Connection established, waiting for welcome message...
Error:  Could not connect to server
Status: Waiting to retry...
Status: Delaying connection due to previously failed connection attempt...
Status: Connecting to
Status: Connection established, waiting for welcome message...
Error:  Could not connect to server

I can still log in via SSH.

  • what kinds of things could have caused this?
  • what are some things I can check/change so I can use FTP again?

Here's my netstat output, how can I tell from this if the "port is listening on the server itself"?

alt text

it doesn't allow me to telnet to the listed ftp port:

alt text

here's the iptables info:

alt text

share|improve this question

closed as off-topic by HopelessN00b Apr 9 '15 at 19:51

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

Couple Guesses:

1) You made some iptables rules changes to allow the traffic but did not commit them with 'service iptables save'

2) Is the FTP service running?

Does netstat show that the port is listening on the server itself? If so, can you telnet to the port on the server itself, what about remotely?

share|improve this answer
how do I tell if the FTP service is running, with my current limited knowledge of linux admin I go to "cd /etc" look around, find nothing... – Edward Tanguay Jul 30 '09 at 19:04
I didn't change anything since yesterday, SSH on port 22 still works, the website still works, just FTP refuses to connect, could this be a problem with my hosting provider, e.g. the virtual machine on which my vps is running? – Edward Tanguay Jul 30 '09 at 19:06
I posted my netstat above. – Edward Tanguay Jul 30 '09 at 19:20
output of 'iptables -L' ? – Kyle Brandt Jul 30 '09 at 19:21
I posted the iptables info, what does that tell me? – Edward Tanguay Jul 30 '09 at 19:26

To show listening ports in netstat, use -l, e.g. netstat -tlnp. You can also use lsof -i tcp:21. To look for a running process use ps, e.g. ps -ef | grep ftpd.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.