Post
Topic
Board Development & Technical Discussion
Re: Why is it empty when sending rpc via curl?
by
shinohai
on 10/10/2022, 15:49:18 UTC
Why is it empty when sending rpc via curl?
Code:
curl --user x:x --data-binary '{"jsonrpc":"1.0","id":"curltest","method":"getrpcinfo","params":[]}' -H 'content-type:text/plain;' http://95.216.35.227:8332/

Either 1) The listed IP does not have the RPC port exposed, or 2) You are trying to do this to your own node from within NAT.