my bitcoin.conf:

rpcallowip= address

my cliend side options:


everything is correnct but i get connection refused error. on serverside 8332 is open and bitcoind listen. bitcoin-cli getblockchaininfo is working. bur i try connect remotely i geer error connection refused.

1 Answer 1


Try setting rpcbind to the same ip address as rpcallowip. I believe the behavior of those options changed recently with 0.18.0, https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.18.0.md.

The rpcallowip option can no longer be used to automatically listen on all network interfaces. Instead, the rpcbind parameter must be used to specify the IP addresses to listen on. Listening for RPC commands over a public network connection is insecure and should be disabled, so a warning is now printed if a user selects such a configuration. If you need to expose RPC in order to use a tool like Docker, ensure you only bind RPC to your localhost, e.g. docker run [...] -p (this is an extra :8332 over the normal Docker port specification).

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.