From 64b312ab4e305125e1c19007f8c325e835b2f98d Mon Sep 17 00:00:00 2001 From: I538344 Date: Thu, 12 Sep 2024 16:08:47 +0200 Subject: [PATCH] Fix cf ssh --- docs-java/features/connectivity/006-running-locally.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs-java/features/connectivity/006-running-locally.mdx b/docs-java/features/connectivity/006-running-locally.mdx index a458d34aa8e..5f7e0f57dfd 100644 --- a/docs-java/features/connectivity/006-running-locally.mdx +++ b/docs-java/features/connectivity/006-running-locally.mdx @@ -151,11 +151,12 @@ cf restart app-name - `credentials.onpremise_proxy_port` (we will refer to the value as _proxy-port_ hereafter) - `credentials.onpremise_proxy_host` (we will refer to the value as _proxy-host_ hereafter) + - `credentials.onpremise_proxy_http_port` (we will refer to the value as _proxy_http_port_ hereafter) - Create an SSH session to your app container with the following command and let the session opened: ```bash -cf ssh app-name -L proxy-port:proxy-host:proxy-port +cf ssh app-name -L proxy-port:proxy-host:proxy_http_port ``` - Copy over the `VCAP_SERVICES` of your actually deployed app to your local machine so that the app can access it.