Reset-admin-password returns ERROR no localtoken

Hi Hyling,
Thanks for using our product.
I have a question. What Couchbase Server you are running now?
By default, reset password only runs in localhost. So you don’t need to pass ‘localhost’ param.
Here is an example code I ran it in Couchbase Server 6.0.0 Enterprise Edition

./couchbase-cli reset-admin-password --new-password password1
SUCCESS: Administrator password changed
[root@s44015 bin]#

If you still have issue with reset password, drop me a line to thuan at couchbase dot com
Thanks