0
Not a bug

Ftp connection timed out

Carlos Soares 6 years ago updated by Eugene Pankov (Project coordinator) 6 years ago 9
Hi, I installed the ajenti-v-ftp-pureftpd package and when creating after creating a new website and trying to connect with filezilla I get the error that ftp connection timed out.

Configuration I tried was the domain and IP for host, username and password given at the ftp tab and tried without port and with port 8000.

Non of these configurations worked.

Recurring bug or something else? How can I fix it?
+1
Under review
Please ensure that there's no firewall/NAT blocking the FTP port 21.
I know how this is done in the terminal but am curious if it's possible to do this via ajenti?
pureftp is listening on it:

$sudo netstat -antp
[sudo] password for oneprovider:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 195.154.240.241:8000 0.0.0.0:* LISTEN 6134/python
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 3958/node
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1217/nginx
tcp 0 0 0.0.0.0:35729 0.0.0.0:* LISTEN 3948/gulp
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 6114/pure-ftpd (SER
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1045/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 895/sshd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1045/named
tcp 0 0 195.154.240.241:8000 92.39.52.7:50589 ESTABLISHED 6134/python
tcp 0 34 195.154.240.241:8000 84.90.120.80:65533 ESTABLISHED 6134/python
tcp 0 0 195.154.240.241:47053 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47051 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47052 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47048 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47046 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 240 195.154.240.241:22 84.90.120.80:49401 ESTABLISHED 7377/sshd: oneprovi
tcp 0 0 195.154.240.241:47054 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47045 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47055 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47049 46.137.143.82:45938 ESTABLISHED 3958/node
tcp 0 0 195.154.240.241:47047 46.137.143.82:45938 ESTABLISHED 3958/node
tcp6 0 0 :::993 :::* LISTEN 1161/couriertcpd
tcp6 0 0 :::143 :::* LISTEN 1133/couriertcpd
tcp6 0 0 :::21 :::* LISTEN 6114/pure-ftpd (SER
tcp6 0 0 :::22 :::* LISTEN 895/sshd
tcp6 0 0 :::3128 :::* LISTEN 1042/squid3
tcp6 0 0 ::1:953 :::* LISTEN 1045/named

+1
If your error is exactly "connection timed out", I'm 99% certain that this is a network problem. Try connecting to port 21 remotely using telnet
I get connection failed... Should I just open the port manually like I opened any other I'd need using iptables or ufw? Does that affect ajenti's configuration?

Yes, if you have set up any firewall, you should open the port yourself.
Got it, it was indeed a firewall configuration. Solved. Thank you!