Skip to Content
Jan 24, 2020 at 10:39 PM

How to start JVMMON in Cloud Foundry over SSH from VPN network?


Hi, I am trying to create a SSH connection from Eclipse to my app deployed in the Cloud Foundry.

The app is ssh-enabled.

I am trying to start the JVMMON over SSH using the following command:

cf ssh <app_name> -c "app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon"

If my laptop is in my company's VPN network, I am not able to connect and get the following error:

"Error opening SSH connection: dial tcp connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

If I disconnect from the VPN, then I am able to connect to the JVMMON and start remote debugging.

But I need to be in the VPN, because otherwise I am not able to connect to my on-premise system using Cloud Connector.

Any hints on how to start the remote debugging in Cloud Foundry over SSH while being at the same time in my company's VPN?