13

Is it possible to run more than one Bitcoin client at the same time on the same machine? I tried to set different working ports, but it seems not to be working.

1 Answer 1

17

You need both a different RPC port (-rpcport), a different P2P port (-port), and a different working directory (-datadir). You will also need to use the daemon (bitcoind) for everything after the first instance, since only one GUI can be running at the same time.

5
  • 1
    Ok. I set all these parameters differently but again I am not able to run 2 bitcoin client together. Should I use the daemon bitcoind instead of bitcoin ? I am working on windows ...
    – ADenis
    Sep 27, 2011 at 12:16
  • 2
    Oh, yes. I believe only one GUI can be running at the same time as well. Sep 27, 2011 at 12:35
  • 1
    Yes, using bitcoind after few tests it seem work!
    – ADenis
    Sep 27, 2011 at 13:06
  • 2
    I followed these steps and it worked. However, I can't get peers using a different P2P port, getpeerinfo is always empty. How can this be solved?
    – bvpx
    Feb 20, 2014 at 5:29
  • first you should run getpeerinfo using bitcoin-cli with datadir and addnode with the local ip and port Dec 6, 2017 at 23:59

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.