Insights Hub How do I use Cloud Foundry in a network with proxy available?

2020-07-23T17:34:15Z
Developer Tools

Summary


Details

I am a developer working on MindSphere. Everything seems to work except my connection to Cloud Foundry. Cloud Foundry works well in an open network, but this network I am currently using is more secure, but I can use proxies. I have the IP address (or a resolvable DNS name) and port number to proxy out from my IT administrator.  How do I proxy out to use Cloud Foundry?

Solution

You will need to run these commands in every command-line interface that you plan to proxy out, or add it to your profile.

set http_proxy=http://{IP address}:{Port Number}

set https_proxy=http://{IP address}:{Port Number}

For Powershell Users:

[System.Environment]::SetEnvironmentVariable('http_proxy','http://{IP address}:{Port Number}')

[System.Environment]::SetEnvironmentVariable('https_proxy','http://{IP address}:{Port Number}')

Notes

KB Article ID# PL8512185

Contents

SummaryDetails

Associated Components

Cloud Foundry Developer Tools - Other