Solved Firewall active , but

MisterM

Verified User
Joined
Jul 31, 2022
Messages
368
Hello

I would like to add an IP in my firewall so that my ftpbackup works, and it shows me this:

add failed: XX.XXX.XX.XXX is one of this servers addresses!

An idea ?
 
Hello,

Don't add your server's IP or IPs from your interface into a firewall that way. As it has no sense at all.

Code:
# csf -a 159.xx.xx.222
add failed: 159.xx.x.222 is one of this servers addresses!
 
/usr/bin/curl returned error code 7
curl: (7) Failed to connect to xxxxxxxxx-xxx.ovh.net port 21: Connection refused
FTP information invalid.
 
Try with the same credentials on the server you're trying to connect to (that ovh.net server) with a normal FTP program and see if that works.
 
@Richard G ,
you were right my friend, in ncftp I know how to connect and travel.

but in curl it's a mistake:
curl -P - --insecure "ftp://XX.XXX.XX.XXX/" --user "ftpback-rbxX-XXX.ovh.net:password"
curl: (67) Access denied: 530
 
If it's not credentials, it's most likely firewall issue or curl version on any of the servers.
You could try (just temporarily) to completely disable firewall on the receiving system and then see if it works with curl in that case.
 
You could try (just temporarily) to completely disable firewall on the receiving system and then see if it works with curl in that case.
If you talk about the remote server, it's not possible
 
Back
Top