dashDB API 调用失败

dashDB API call fails

我已经通过 Web 应用程序在 IBM Bluemix 中创建了一个 dashDB 实例并与之交互,但是当我从 dashDB 尝试以下 curl 命令时 API documentation :

curl --user "[userid]:[password]" -X GET "https://[hostname]:[port]/dashdb-api/home"

我收到这个错误:

curl: (35) Unknown SSL protocol error in connection to <hostname>:50000

在这种情况下,这个错误是什么意思?

原来我在主机名中使用了错误的端口,dashDB 端口被列为 5000 但因为此调用是 https,所以端口应该是 8443。