codenotary / immudb

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
https://immudb.io
Other
8.54k stars 341 forks source link

immuclient ignoring port flags #463

Closed ankane closed 4 years ago

ankane commented 4 years ago

What happened

immuclient always uses port 3322, even when -p and --immudb-port are set.

What you expected to happen

It uses the specified port.

How to reproduce it (as minimally and precisely as possible)

 immuclient safeset hello world -p 9000

This fails with:

rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:3322: connect: connection refused"

Environment

immuclient 0.7.0
vchaindz commented 4 years ago

Thanks @ankane - we're already working on fixing it and keep you posted!

mmeloni commented 4 years ago

Fixed in https://github.com/codenotary/immudb/commit/83f0b3b09d6792ab012f0c8e12d7a2d45e813ab6

ankane commented 4 years ago

Thanks @mmeloni!