3

What's the difference between these two settings in the bitcoin conf file? 'rpcallowip' and 'rpcbind'

1 Answer 1

4

You could be running Bitcoin Core on your desktop and issuing RPC commands from your laptop. In this example you might want to put rpcbind=0.0.0.0 and rpcallowip=192.168.1.10 or your laptop’s lan IP.

Rpcbind binds to a socket, this happens in the networking layer. Without it packets won’t even reach bitcoin core. Rpcallowip is used for authorization which happens in the application layer. Packets need to be able to reach bitcoin core before the command can be authorized so in a sense rpcallowip needs to be a subnet of rpcbind

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.