Giter Site home page Giter Site logo

Comments (4)

osminogin avatar osminogin commented on June 8, 2024

Please check your setup with docker ps -a and netstat -tlpn
I make some additional changes to your docker-compose.yml - JSONRPC port binded by default to localhost:7000
I successfully checked the current configuration. If you notice that what is really broken - please report.

from docker-electrum-daemon.

ramontayag avatar ramontayag commented on June 8, 2024

I did this:

docker run --rm --name electrum-daemon --publish 127.0.0.1:7000:7000 osminogin/electrum-daemon

I also tried removing 127.0.0.1 so it binds to 0.0.0.0 but no dice.

Here's how it looks:

curl --data-binary '{"id":"1","method":"listaddresses"}' http://electrum:electrumz@localhost:7000                                                                                                              
curl: (52) Empty reply from server

from docker-electrum-daemon.

ramontayag avatar ramontayag commented on June 8, 2024

Ok it lacks electrum setconfig rpchost 0.0.0.0, so that the daemon listens to all IPs passed through. I guess socat made it look like the request was coming from the same IP.

What are the security implications of setting the rpchost to 0.0.0.0? Or do we just assume that this is taken care of by the Docker setup?

from docker-electrum-daemon.

osminogin avatar osminogin commented on June 8, 2024

from docker-electrum-daemon.

Related Issues (5)

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.