Hello,
we have seen similar issues related to the resolution of host names or IP numbers.
Please try the following:
Add the IP number you are using in the system connection to profile parameter gw/alternative_hostnames of the application server you are trying to connect to.
Good luck!
Best regards,
Marco