I have a node on the Linux server.
And I can call RPC from the server.
But I can’t call from my computer to the node by IP.
curl --user admin --data-binary ‘{“jsonrpc”: “1.0”, “id”:“curltest”, “method”: “z_listaddresses”, “params”: }’ -H ‘content-type: text/plain;’ http:// 35.21.21.11:18232/
return error message: Failed to connect to 35.21.21.11port 18232: Connection refused
And I checked the port and see:
ubuntu@instance-1-zcash-testnet:~$ netstat -tulpn | grep 18232
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1 :18232 0.0.0.0:* LISTEN 1172/zcashd
tcp6 0 0 ::1:18232 :::* LISTEN 1172/zcashd
this is my config:
rpcuser=admin
rpcpassword=admin
testnet=1
server=1
rpcbind=0.0.0.0
rpcport=18232
experimentalfeatures=1
txindex=1
insightexplorer=1
rpcconnect=0.0.0.0
bind=0.0.0.0
Can you help me to config? thanks!