Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Port 22 outbound blocked?

$
0
0

Hi all,

 

I'm developing an app which needs to transfer some data via SFTP. Everything works fine in local runtime, however once published to HCP the connection times out while trying to create socket on port 22.

 

I've tried with a more than sufficient timeout (as well as no timeout), and have tested the connection to the same host on port 443 which works fine. So it appears the problem may be due to port 22 outbound being blocked rather than not having long enough to establish a connection. Can anyone confirm whether port 22 outbound is blocked for HCP accounts? The comments here suggest not, but these were made over two years ago so not sure if anything has changed since then. Below is part of the trace...

 

com.jcraft.jsch.JSchException: timeout: socket is not established

at com.jcraft.jsch.Util.createSocket(Util.java:394)

at com.jcraft.jsch.Session.connect(Session.java:215)

 

Many thanks.


Regards,

Ian


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>