Is it possible to run more than one client instance on a machine?

12

3

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.

ADenis

Posted 2011-09-27T09:27:02.480

Reputation: 517

Answers

16

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.

Pieter Wuille

Posted 2011-09-27T09:27:02.480

Reputation: 54 032

1Ok. 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 2011-09-27T12:16:20.083

2Oh, yes. I believe only one GUI can be running at the same time as well.Pieter Wuille 2011-09-27T12:35:18.180

1Yes, using bitcoind after few tests it seem work!ADenis 2011-09-27T13:06:21.623

2I 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 2014-02-20T05:29:02.087

first you should run getpeerinfo using bitcoin-cli with datadir and addnode with the local ip and portBadr Bellaj 2017-12-06T23:59:03.667