cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello Community!

I have develop a python app that uses the library paramiko to connect via ssh to a remote server, when I run the aplication locacaly on my pc the app runs just fine, however when running the app in a cloud foundry enviroment I get the error paramiko.ssh_exception.NoValidConnectionsError: [Errno None] Unable to connect to port on ip, I dont know if this is because I have to somehow configure the inbound/outbound connection on the cloud foundy environment.

Thanks in advance for your help

Kind Regards

Mario

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor
0 Likes

I would suggest that you enable ssh access to your deployed app and then try if you can connect from there via ssh. You might need to use the apt-buildpack to install a ssh client. But I think outgoing ssh connections might be not allowed. Only http(s) connections are possible.

Answers (0)