2015-07-10 95 views
0

我在Windows 7計算機上安裝了Cloud Foundry。我嘗試通過Cloud Foundry CLI登錄VMware vCenter服務器,並將API端點設置爲vCenter server的IP地址。 「服務器錯誤,狀態碼:404,錯誤代碼:0,消息:」。但是,我可以成功地ping到vCenter服務器並通過REST客戶端進行API調用。無法通過Cloud Foundry登錄到VMware vCenter服務器

c:\ cf login 

c:\ API endpoint> http://xx.xx.xx.xx 

    Invalid SSL Cert for xx.xx.xx.xx 
    TIP: Use 'cf login --skip-ssl-validation' to continue with an insecure 
    API  endpoint 

c:\ cf login --skip-ssl-validation -a http://xx.xx.xx.xx 

c:\ API endpoint: https://xx.xx.xx.xx 

    FAILED 
    Server error, status code: 404, error code: 0, message: 

Cloud Foundry的版本:6.12.1

請幫我調試錯誤

回答

0

的API端點具有以下結構:

https://api.MY_IP.xip.io