on 06-17-2022 2:29 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.