登录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.
要解决此问题,您必须在系统变量中设置HTTP_PROXY。
https://docs.pivotal.io/pivotalcf/1-12/cf-cli/http-proxy.html