我有Aerospike运行在一个虚拟的盒子上,运行在windows系统上。在
我有一个运行在windows上的Java Spring Boot应用程序,它可以与主机127.0.0.1和端口3000上的aerospike数据库通信。在
这是我的属性文件-
prepaid.aerospike.namespace=hello
prepaid.aerospike.hosts.count=1
prepaid.aerospike.hostname1=127.0.0.1
prepaid.aerospike.port1=3000
prepaid.aerospike.sequence.namespace=hello1
这是AeroSpike配置文件-
^{pr2}$问题
我的系统上运行着python for windows。在
我尝试运行与https://www.aerospike.com/docs/client/python中给出的完全相同的示例
通过python运行python文件飞车.py,我得到-
failed to connect to the cluster with [('127.0.0.1', 3000)]
更新
网络部分来自飞机跑道.conf-在
network {
service {
address any
port 3000
}
heartbeat {
mode mesh
port 3002 # Heartbeat port for this node.
# address 127.0.0.1
# List one or more other nodes, one ip-address & port per line:
# # mesh-seed-address-port 10.10.10.11 3002
# # mesh-seed-address-port 10.10.10.12 3002
# # mesh-seed-address-port 10.10.10.13 3002
# # mesh-seed-address-port 10.10.10.14 3002
#
# interval 250
# timeout 10
#
}
fabric {
port 3001
}
info {
port 3003
}
}
Windows当前不支持Python客户端。您可以尝试使用Windows的C client来生成它。如果你能让它正常工作,请把aerospike/aerospike-client-python分叉并把更改贡献回来。在
相关问题 更多 >
编程相关推荐