Arijit Mahapatra
Arijit Mahapatra

Reputation: 100

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.

Upvotes: 0

Views: 125

Answers (1)

Arijit Mahapatra
Arijit Mahapatra

Reputation: 100

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

Upvotes: -1

Related Questions