【问题标题】:how to set proxy for pivotal cloud foundry(pcf)?如何为关键云代工(pcf)设置代理?
【发布时间】:2018-05-29 22:56:57
【问题描述】:

登录 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.

【问题讨论】:

    标签: cloud-foundry pcf


    【解决方案1】:

    要解决这个问题,你必须在系统变量中设置HTTP_PROXY

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-08
      • 2016-04-17
      • 2012-06-28
      • 2016-03-12
      • 1970-01-01
      • 2011-04-01
      相关资源
      最近更新 更多