简体   繁体   English

RESTHeart在AmazonAWS上将错误绑定到MongoDB

[英]RESTHeart Bind Error to MongoDB on AmazonAWS

I am trying to assist a customer in getting RESTHeart up and connected to MongoDB that is hosted on AmazonAWS. 我正在尝试帮助客户建立RESTHeart并连接到AmazonAWS上托管的MongoDB。 The startup from the yml file looks like it is connecting to our MongoDB (yellow highlight in attachment) but then it fails with a bind error. 从yml文件启动似乎正在连接到我们的MongoDB(附件中的黄色突出显示),但随后失败,并出现绑定错误。 Have tried setting the mongo-uri with and without port, IP and hostname all with the same result. 尝试将mongo-uri设置为带或不带端口,IP和主机名,结果相同。 I checked the softinstigate site for help or a forum and they suggest here. 我在softinstigate网站上寻求帮助或论坛,他们在这里提出建议。 Any suggestions or guidance would be greatly appreciated. 任何建议或指导将不胜感激。

Statup log with DEBUG on 启用DEBUG的状态日志

The http and https are bound to the same address. http和https绑定到相同的地址。 This is not possible. 这是不可能的。

In the log I also spot Mongodb version: ? 在日志中,我还发现了Mongodb版本:

This is usually due to restheart not communicating with mongodb. 这通常是由于Restheart无法与mongodb通信。 You have to check your network settings... 您必须检查网络设置...

Are you able to telnet to mongodb from the host running restheart? 您是否可以从运行restheart的主机远程登录到mongodb?

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

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