Directadmin Backup Error curl: (8)

kariha

Verified User
Joined
Sep 12, 2011
Messages
46
I have many directadmin servers.
I am using the same backup system.
But this time I couldn't set backup.
I have curl and ftp installed on the server.

I can connect to ftp account with filezilla.
I can connect via ssh on the same server.
but the backup part cannot establish ftp connection.

"
/usr/local/bin/curl returned error code 8
curl: (8) Failed to connect to u298089.your-storagebox.de port 21 after 1079 ms: Connection refused
"
 
If your Directadmin has CSF enabled, it might block your outgoing connection to your backup server. Try to whitelist your backup server IP in CSF, or test by temporarily disabling CSF.
 
thank you for your help.

I tried turning off the csf.
I added it to the whitelist and opened all the necessary ports.
unfortunately the situation is the same. problem not solved.
 
What is the output of

Code:
telnet u298089.your-storagebox.de 21

executed on your Directadmin server?
 
unfortunately nothing happens
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    12.4 KB · Views: 167
few days ago I had similar problem - try open 35000:35999 port in CSF in TCP_OUT section (maybe in ipv6 too)
 
thank you for your help.

I tried turning off the csf.
I added it to the whitelist and opened all the necessary ports.
unfortunately the situation is the same. problem not solved.
Did you do the same thing on the target storage server?
 
Thanks a lot for your help. The curl(8) error persists.
I can establish ftp connection over ssh.
When I enter ftp information that does not require ipv6, the result is the same.
I also entered the ports 35000:35999 for tcp_out.
It's not normal that I can connect via ssh but not via directadmin 🧐
 
Might be related:

I'm running a simple url statuscode checker using Curl. Since yesterday i'm receiving multiple 503 and 403 errors while the links seem to work in a browser. All the clients with errors are using Cloudflare. Have double checked using a clean / fresh IP.
 
I see you are using Hetzner as backup :)
Is your curl managed/installed by Custombuild or the OS? there was an thread about this on this forum, maybe that would help
 
I solved it!
I don't know much about ipv6. when i disabled this, my connection problems went away. For friends who have this problem, the solution is as follows.

# nano /etc/sysctl.d/70-ipv6.conf
--
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
--
# sysctl --load /etc/sysctl.d/70-ipv6.conf

Thank you to everyone who tried to help.
 
Back
Top