简体   繁体   English

我无法对接 Corda spring 引导服务器

[英]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 .我计划在docker 容器中运行Corda 节点和 spring 引导服务器 I have used the dockerform task to create the docker-compose file which is running the nodes perfectly.我使用dockerform任务创建了完美运行节点的docker-compose文件。

I have created a Dockerfile to create an image of the spring boot server and build the image with the docker build command.我创建了一个Dockerfile来创建spring 引导服务器的映像,并使用docker 构建命令构建该映像 I have used that image in the docker-compose file to run all the containers in a bridge network .我在docker-compose文件中使用了该图像来运行桥接网络中的所有容器

But the spring boot container is not able to connect to the Corda node.但是 spring 引导容器无法连接到 Corda 节点。

Caused by: net.corda.client.rpc.RPCException: Cannot connect to server(s).原因:net.corda.client.rpc.RPCException:无法连接到服务器。 Tried with all available servers.尝试了所有可用的服务器。

This issue is solved.这个问题解决了。 There was some issue with the host and port name.主机名和端口名存在一些问题。 Now it's working.现在它正在工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法运行弹簧靴 - I am not able to run spring boot 如何对接 Spring 引导应用程序? - How to dockerize Spring Boot Application? 我无法更新我的实体表(Spring Boot 2休眠5) - I am not able to update my entity table (Spring Boot 2 hibernate 5) 为什么我无法在 Spring 引导的 Spring 上下文中获得我的 Bean 定义? - Why am I not able to get my Bean definition available in my Spring context with Spring Boot? 我无法在Spring Boot应用程序中使用Mockito模拟Dao方法 - I am not able to mock the Dao method using mockito in Spring boot application 我无法使用 JPA spring 引导通过 email 搜索我的用户 - I am not able to search my users by email using JPA spring boot 我无法在 VScode 中添加模块来创建多模块 spring 启动 maven 项目 - I am not able to add module in VScode to create multi module spring boot maven project 为什么我无法在 Spring 引导应用程序中使用 @Getter 和 @Setter 注释访问 get 和 set 方法? || 龙目岛 - why I am not able to access the get and set method using @Getter and @Setter Annotation in Spring Boot Application? || Lombok 我无法从 Spring 引导连接到 Google Cloud Memory Store - I am not able to connect to Google Cloud Memory Store from Spring Boot 使用Spring的bo​​ot boot kotlin的网络服务器 - webserver using spring boot kotlin in Corda with XML
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM