Java 连接到在MacOS上的流浪vm中运行的aerospike
我按照上述步骤在Mac上安装aerospike- 我可以在我的系统上打开AMC控制台,但无法通过Java aerospike客户端连接到aerospike 我正在用Java代码创建我的Aerospike客户端,如下所示Java 连接到在MacOS上的流浪vm中运行的aerospike,java,macos,aerospike,Java,Macos,Aerospike,我按照上述步骤在Mac上安装aerospike- 我可以在我的系统上打开AMC控制台,但无法通过Java aerospike客户端连接到aerospike 我正在用Java代码创建我的Aerospike客户端,如下所示 new AerospikeClient("172.28.128.3", 8081); 下面是一个错误。有人能告诉我问题出在哪里吗 Factory method 'aerospikeClient' threw exception; nested exception is com.
new AerospikeClient("172.28.128.3", 8081);
下面是一个错误。有人能告诉我问题出在哪里吗
Factory method 'aerospikeClient' threw exception; nested exception is com.aerospike.client.AerospikeException$Connection: Error Code 11: Failed to connect to host(s):
172.28.128.3 8081 java.io.EOFException
尝试连接到,而不是8081。该选项仅在允许AMC从macOS端连接到集群时打开
安装for macOS并尝试以下操作:
asinfo -h "172.28.128.3" -v version