Jenkins Database Backup Job (network problem) task 4 level 2

hi everyone
in this task i have to copy a file from database server to backup server
database ip :172.16.239.10
backup ip:172.16.238.16

there is no connection between these 2 servers
i cant ssh to backup server from any server

You can reach the backup server from the Jenkins host.

thor@jump_host ~$ ssh jenkins@jenkins 
The authenticity of host 'jenkins (172.16.238.19)' can't be established.
ECDSA key fingerprint is SHA256:kP420d+MS/oS3H87dLIGjf0Hr/8opHiwvPubA/EpGBo.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'jenkins,172.16.238.19' (ECDSA) to the list of known hosts.
jenkins@jenkins's password: 
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-1106-gcp x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

jenkins@jenkins:~$ ssh peter@stdb01
The authenticity of host 'stdb01 (172.16.239.10)' can't be established.
ECDSA key fingerprint is SHA256:JaetFhLsEIIQha3KBLcXVqyaCD1kn+XY6A+YubIppBk.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'stdb01,172.16.239.10' (ECDSA) to the list of known hosts.
peter@stdb01's password: 
Last login: Tue Feb 13 12:25:08 2024 from 172.16.239.3
[peter@stdb01 ~]$ logout
Connection to stdb01 closed.
jenkins@jenkins:~$ ssh clint@stbkp01
The authenticity of host 'stbkp01 (172.16.238.16)' can't be established.
ECDSA key fingerprint is SHA256:RxiDLot1s+r5b+MuxbuKCov0iZip3E+YZXlnKABx4Tg.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'stbkp01,172.16.238.16' (ECDSA) to the list of known hosts.
clint@stbkp01's password: 
[clint@stbkp01 ~]$ logout
Connection to stbkp01 closed.
jenkins@jenkins:~$ 

thanks for your response.
i found out what the problem is.
it doesn’t connect via ip. it only connects with hostname.
Capture2