[Solved] No response when call rpc mainnet fullnode

Hi everyone.
I have a fullnode runing mainnet.
And I call rpc to fullnode, but it does not response data for me (empty response). and although I have incorrectly renamed the method.
How can I fix it? thank you!
this is my zcash config(with the same config, it works on testnet for me):,

        rpcuser=admin 
        rpcpassword=12345
        testnet=0
        server=1
        rpcbind=0.0.0.0
        port=8231
        rpcport=8232
        rpcallowip=0.0.0.0/0
        experimentalfeatures=1
        txindex=1
        insightexplorer=1
        rpcconnect=0.0.0.0

and this is rpc to call:

curl --user admin --data-binary '{"jsonrpc": "1.0", "id":"curltest", 
"method": "z_listaddresses", "params": [] }' 
-H 'content-type: text/plain;' http://127.0.0.1:8232

screenshot for empty response:

I have restarted the fullnode, it works for me!

1 Like