如何将Datastax开发中心连接到Amazon EC2实例中的远程集群? [英] How to connect datastax dev center to remote cluster in amazon EC2 instance?
本文介绍了如何将Datastax开发中心连接到Amazon EC2实例中的远程集群?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经设定了以下内容。
rpc_address到外部公共ip。
监听地址:内部ip地址(不是本地主机),
rpc_broad_cast:内部ip地址
I have set the following. rpc_address to external public ip. Listen Address : internal ip address (not the local host), rpc_broad_cast: internal ip address
在开发中心,我使用的是外部ip和端口9042。
On Dev center, I am using external ip and port 9042.
让我知道,如果做错什么了。
Let me know, if am doing anything wrong.
推荐答案
终于奏效了:
步骤:
1. set listen_address to private IP of EC2 instance.
2. do not set any broadcast_address
3. set rpc_address to 0.0.0.0
4. set broadcast_rpc_address to public ip of EC2 instance.
这篇关于如何将Datastax开发中心连接到Amazon EC2实例中的远程集群?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文