As the subject says
asadm -h localhost doesn’t work on version 0.1.17 it fails with the following error:
[root@c7 ~]# asadm -h localhost Seed: [('localhost', 3000, None)] Config_file: /root/.aerospike/astools.conf, /etc/aerospike/astools.conf Aerospike Interactive Shell, version 0.1.17 ERROR: Not able to connect any cluster with [('localhost', 3000, None)].
This is on CentOS 7, I haven’t tried other distributions. An even bigger problem is that when you install the RPM of this latest version it adds the following line in
[global] host = "localhost:3000,[::1]:cluster_a:3000"
which means that it will use localhost by default when you type
asadm so it fails as well.
asadm -h 127.0.0.1 works without issues, and older versions work both with