Error while executing the statement in cmd - cf api https://api.ng.bluemix.net -
getting below error while trying execute statement in command prompt.
c:\users\blue mix> cf api https://api.ng.bluemix.net setting api endpoint https://api.ng.bluemix.net... request error: https://api.ng.bluemix.net/v2/info: http: error connecting proxy http://my.proxyserver.com:8080: dial tcp : lookup my.proxy server.com: address inflow : no such host known. tip: if behind firewall , require http proxy, verify https_proxy environment variable correctly set. else, check network connection. failed can please suggest how can fix problem ?
it looks have configured https_proxy variable? https://docs.cloudfoundry.org/cf-cli/http-proxy.html.
the error message suggests hostname have set proxy server can not resolved ip address.
update:
you can verify if machine able resolve hostname of proxy server pinging proxyserver, e.g.
c:\> ping my.proxyserver.com ping report if unable resolve proxy hostname ip address. e.g.
c:\> ping my.proxyserver.com ping request not find host my.proxyserver.com. please check name , try again. if unable resolve ip address, need fix problem first. see here tips: https://support.rackspace.com/how-to/modify-your-hosts-file/
Comments
Post a Comment