client.toml/node configs indicate where ostracon runs. Currently application layer is running in process with ostracon. So node address should be same with ostracon address.
But since node address was tcp://localhost:26658 which is different with ostracon address tcp://localhost:26657, query fails in CLI as below.
~ # simd query wasm list-code
Error: post failed: Post "http://localhost:26658": dial tcp 127.0.0.1:26658: connect: connection refused
client.toml/node configs indicate where ostracon runs. Currently application layer is running in process with ostracon. So node address should be same with ostracon address.
But since node address was
tcp://localhost:26658
which is different with ostracon addresstcp://localhost:26657
, query fails in CLI as below.