我有一个EC2实例设置,其中包含手动安装的mongodb
免费版。
username
访问权限的password
和readWrite
用户。对/etc/mongod.conf
a。添加了bindIp: 0.0.0.0
b。添加了security:
authorization: 'enabled'
当前,它在以下端口上运行:27017
现在,我能够以通常的方式访问mongodb,但不能通过Tableau
软件进行访问。我收到此错误消息
与MongoDB BI连接器通信时发生错误。
The connection to the data source might have been lost.
[MySQL][ODBC 5.3(w) Driver]Lost connection to MySQL server at 'waiting for initial communication packet', system error: 10060
Unable to connect to the MongoDB BI Connector server "EC2 public IP". Check that the server is running and that you have access privileges to the requested database.
在MongoDb BI Connector
中,我添加了以下详细信息以连接到我的EC2 mongodb
服务器:EC2 public IP
端口:27017
用户/密码:The one added in mongodb shell, username/password
我想念什么吗?为什么我无法连接?
我的Tableau托管在其他EC2实例上,不确定是否是问题所在