TheCableGuy96
Verified User
- Joined
- Apr 29, 2010
- Messages
- 43
Hi,
I'm pretty stumped with this as I've tried everything within my knowledge.
I used to run a CentOS 7.x server with DA which was running fine. After many years it's degraded and needed a format so I've replaced it with AlmaLinux 9.1 which I believe is the new "in-thing".
Everything is up and running and working apart from the Admin backups which I use to backup to a Synology NAS using FTP(s). For some reason I am getting this error instantly when trying to setup the backups (I have tried with FTP and FTPs selected):
/usr/bin/curl returned error code 7
curl: (7) Failed to connect to 192.168.1.249 port 21: Connection refused
FTP information invalid.
I've checked and can connect locally with my PC using FileZilla.
I can also connect from the server itself using the CLi:
ftp> o 192.168.1.249
Connected to 192.168.1.249 (192.168.1.249).
220 SHS1 FTP server ready.
Name (192.168.1.249:root):
Firewall can't be the issue if it's working from CLi but not the DA system. But I've selected FTP and FTPs and the ports are open so I'm stumped.
I've read somewhere it could be the Curl version but I've checked and it's the latest version yum is offering me so I can't upgrade it if there is a later release:
[root@fs1 ~]# curl --version
curl 7.76.1 (x86_64-redhat-linux-gnu) libcurl/7.76.1 OpenSSL/3.0.1 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh/0.9.6/openssl/zlib nghttp2/1.43.0
Release-Date: 2021-04-14
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
Would anyone be able to offer any suggestions?
Thanks in advance!
I'm pretty stumped with this as I've tried everything within my knowledge.
I used to run a CentOS 7.x server with DA which was running fine. After many years it's degraded and needed a format so I've replaced it with AlmaLinux 9.1 which I believe is the new "in-thing".
Everything is up and running and working apart from the Admin backups which I use to backup to a Synology NAS using FTP(s). For some reason I am getting this error instantly when trying to setup the backups (I have tried with FTP and FTPs selected):
/usr/bin/curl returned error code 7
curl: (7) Failed to connect to 192.168.1.249 port 21: Connection refused
FTP information invalid.
I've checked and can connect locally with my PC using FileZilla.
I can also connect from the server itself using the CLi:
ftp> o 192.168.1.249
Connected to 192.168.1.249 (192.168.1.249).
220 SHS1 FTP server ready.
Name (192.168.1.249:root):
Firewall can't be the issue if it's working from CLi but not the DA system. But I've selected FTP and FTPs and the ports are open so I'm stumped.
I've read somewhere it could be the Curl version but I've checked and it's the latest version yum is offering me so I can't upgrade it if there is a later release:
[root@fs1 ~]# curl --version
curl 7.76.1 (x86_64-redhat-linux-gnu) libcurl/7.76.1 OpenSSL/3.0.1 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh/0.9.6/openssl/zlib nghttp2/1.43.0
Release-Date: 2021-04-14
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
Would anyone be able to offer any suggestions?
Thanks in advance!