[Help] - Can't connect to remote nameservice daemon


I am new to Cosmos and I just forked the official Cosmos SDK nameservice tutorial. It works well on my local machine so I just deployed it to cloud server and I want to access it thru nscli from my local machine.

First I set the node to remote server address by running
nscli config node tcp://

Then I tried to run the following query
nscli query account $(nscli keys show jack -a)

Finally I got some error like ERROR: ABCIQuery: Post failed: Post "": dial tcp : connect: connection refused

I am curios about it since I don’t think there is any network problem in my case. Did I mis-configured something?

Thank you very much!