我正在 IBM HyperLedger Blockchain 上开发 POC。我在 IBM Cloud 中开发和部署了一个业务网络。我可以生成一个工作的本地 API REST,但不能让它在云上工作,在部署的 IP 上。我正在遵循本指南:
https://ibm-blockchain.github.io/interacting/
您只需执行以下命令:
./create/create_composer-rest-server.sh --business-network-card MY_BIZNET_CARD_NAME
但它没有部署任何东西,并获得以下内容(与 Kubernetes 相关而不是区块链)。
Preparing yaml file for create composer-rest-server
Creating composer-rest-server pod
Running: kubectl create -f /Users/sm/jsblock/ibm-container-service/cs-offerings/scripts/../kube-configs/composer-rest-server.yaml
The connection to the server localhost:8080 was refused - did you specify the right host or port?
the server doesn't have a resource type "svc"
Creating composer-rest-server service
Running: kubectl create -f /Users/sm/jsblock/ibm-container-service/cs-offerings/scripts/../kube-configs/composer-rest-server-services-free.yaml
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Composer rest server created successfully
有任何想法吗?太感谢了。