Giter Site home page Giter Site logo

-rpcallowip about docker-bitcoin-core HOT 4 CLOSED

ruimarinho avatar ruimarinho commented on July 26, 2024
-rpcallowip

from docker-bitcoin-core.

Comments (4)

nunofgs avatar nunofgs commented on July 26, 2024 1

Hey there @ekkis,

This is more of a configuration issue (not directly related to this repo) but I'm happy to help:

I see a few solutions here:

  1. Allow the entire "172.x.x.x" range (using -rpcallow=172.0.0.0/8)
  2. Specify a subnet of your choosing, as described in the documentation, then use it with the -rpcallowip= parameter.
  3. Use network_mode: "bridge" which will make the container join the default bridge network and use the 172.17.0.x range.

Hope this helps!

from docker-bitcoin-core.

ekkis avatar ekkis commented on July 26, 2024

yes, you're right, it's not really a concern of this repo, so thanks for the suggestions. I need to research whether Docker creates all its networks within the 172.x range. if it does then #1 above certainly would work.

as for #2, rpcallow= is intriguing as I don't see it documented. this is where I'm looking: https://en.bitcoin.it/wiki/Running_Bitcoin and presumably it lets me allow by network name? if that were the case that would be ideal because that I know

from docker-bitcoin-core.

nunofgs avatar nunofgs commented on July 26, 2024

rpcallow= is intriguing as I don't see it documented.

Sorry, that was a typo. In essence I was referring to setting a subnet manually, and then specifying it with -rpcallowip=.

from docker-bitcoin-core.

pavoltravnik avatar pavoltravnik commented on July 26, 2024

Hey there @ekkis,

This is more of a configuration issue (not directly related to this repo) but I'm happy to help:

I see a few solutions here:

  1. Allow the entire "172.x.x.x" range (using -rpcallow=172.0.0.0/8)
  2. Specify a subnet of your choosing, as described in the documentation, then use it with the -rpcallowip= parameter.
  3. Use network_mode: "bridge" which will make the container join the default bridge network and use the 172.17.0.x range.

Hope this helps!

Shouldn't it be 172.16.0.0/12?
Private_IPv4_addresses

from docker-bitcoin-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.