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 74.126.30.21:21...
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 74.126.30.21:21...
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"?
it doesn't allow me to telnet to the listed ftp port:
here's the iptables info:
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?
To show listening ports in netstat, use
-l
, e.g.netstat -tlnp
. You can also uselsof -i tcp:21
. To look for a running process use ps, e.g.ps -ef | grep ftpd
.