如何为关键的云代工厂(pcf)设置代理?

问题描述 投票:0回答:1

登录PCF我面临以下错误,有人可以建议如何为PCF设置代理吗?

C:\Users\girdhars>cf login -a https://api.run.pivotal.io
API endpoint: https://api.run.pivotal.io
FAILED
Error performing request: Get https://api.run.pivotal.io/v2/info: dial tcp: lookup api.run.pivotal.io: no such host
TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set. Else, check your network connection.

enter image description here

pivotal-cloud-foundry pcf
1个回答
2
投票

要解决此问题,您必须在系统变量中设置HTTP_PROXY。

https://docs.pivotal.io/pivotalcf/1-12/cf-cli/http-proxy.html

© www.soinside.com 2019 - 2024. All rights reserved.