I want to make some RPC calls from my local computer to a server I have which is currently syncing with the network via $ bitcoind

I am trying to make RPC calls for things like getinfo but my request are failing. I just want to double check if it's even possible to hit it with a request and receive data back if its not synced up. I would have thought no, but I can use the bitcoin-cli from my server to get things like getinfo without an issue.

1 Answer 1


Yes it is possible.

Using the rpcwait flag will prevent calls from failing while bitcoind is starting up.

Aslo, make sure you have configured your bitcoin.conf file correctly.

rpcuser, rpcpassword, and rpcallowip need to be set and these params need to be passed to bitcoin-cli during an api call.

  • and server=1 right?
    – Anthony
    Commented Mar 19, 2016 at 20:58
  • anthony: The server field allows for bitcoin-qt to accept json-rpc commands. If you are running bitcoind you can leave that field commented out.
    – boris
    Commented Mar 19, 2016 at 21:09
  • What can I use for a wildcard? Will: rpcallowip=::/0 work? I have tried everything and can't get this to work, I am about to post a new question with more details.
    – Anthony
    Commented Mar 19, 2016 at 21:10
  • Just posted a new question @boris bitcoin.stackexchange.com/questions/43406/…
    – Anthony
    Commented Mar 19, 2016 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.