Dear all
I have deployed my application to Java Cloud Service with JSCH framework, but getting error "com.jcraft.jsch.JSchException: java.security.AccessControlException: Direct socket connection not allowed to sftp.us2.cloud.oracle.com. Connection to other hosts should be performed only through the configured proxy."
I am using the SFTP server related to the cloud service.

This works when I test the same locally.
1. Is accessing an SFTP from JCS deployed application applicable? As I checked from https://docs.oracle.com/cloud/latest/javacs_gs/CSJSU/GUID-26A4BA7C-E89F-408E-ADEE-F4ACE785DC5F.htm#CSJSU7042, it seems direct socket connections is not allowed.

2. Is there any workaround? Eg, Adding a proxy for accessing an SFTP?
Regards
Haoye