Ibm cloud 在cmd-cf api中执行语句时出错https://api.ng.bluemix.net

Ibm cloud 在cmd-cf api中执行语句时出错https://api.ng.bluemix.net,ibm-cloud,Ibm Cloud,尝试在命令提示符下执行语句时出现以下错误 C:\users\Blue mix> cf API https://api.ng.bluemix.net Setting API endpoint to https://api.ng.bluemix.net... Request error: Get https://api.ng.bluemix.net/v2/info: http: error connecting to proxy http://my.proxyserver.com:8080

尝试在命令提示符下执行语句时出现以下错误

C:\users\Blue mix> cf API https://api.ng.bluemix.net

Setting API endpoint to https://api.ng.bluemix.net...
Request error: Get https://api.ng.bluemix.net/v2/info: http: error connecting to
 proxy http://my.proxyserver.com:8080: dial tcp : lookup my.proxy server.com: GET Address inflow : No such host is known.
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.
FAILED

您能建议如何解决此问题吗?

看起来您已经配置了https\u代理变量

错误消息表明,您为代理服务器设置的主机名无法解析为IP地址


更新:

您可以通过ping proxyserver来验证您的计算机是否能够解析代理服务器的主机名,例如:

C:\> ping my.proxyserver.com
如果Ping无法将代理主机名解析为ip地址,它将报告。例如

C:\> ping my.proxyserver.com
Ping request could not find host my.proxyserver.com. Please check the name and try again.

如果无法解析为ip地址,则需要首先解决该问题。请参见此处了解一些提示:

您是否按照要求完成了操作?它与您的设置相关吗?