简体   繁体   中英

I am not able to dockerize the Corda spring boot server

I am planning to run the Corda nodes and the spring boot server in a docker container . I have used the dockerform task to create the docker-compose file which is running the nodes perfectly.

I have created a Dockerfile to create an image of the spring boot server and build the image with the docker build command. I have used that image in the docker-compose file to run all the containers in a bridge network .

But the spring boot container is not able to connect to the Corda node.

Caused by: net.corda.client.rpc.RPCException: Cannot connect to server(s). Tried with all available servers.

This issue is solved. There was some issue with the host and port name. Now it's working.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM