<p>You need both a different RPC port (<code>-rpcport</code>), a different P2P port (<code>-port</code>), and a different working directory (<code>-datadir</code>).  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.</p>

CC BY-SA 3.0
2014-02-20T05:29:02.087Z
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
CC BY-SA 3.0
2017-12-06T23:59:03.667Z
first you should run getpeerinfo using bitcoin-cli with datadir and addnode with the local ip and port
Badr Bellaj
CC BY-SA 3.0
2011-09-27T12:16:20.083Z
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
CC BY-SA 3.0
2011-09-27T12:35:18.180Z
Oh, yes. I believe only one GUI can be running at the same time as well.
Pieter Wuille
CC BY-SA 3.0
2011-09-27T13:06:21.623Z
Yes, using bitcoind after few tests it seem work!
ADenis
CC BY-SA 3.0
2011-09-27T10:25:49.287Z
2011-09-28T02:45:59.383Z
2011-09-28T02:45:59.383Z
Pieter Wuille
<p>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.</p>

<client><bitcoind>
Is it possible to run more than one client instance on a machine?
ADenis
# Is it possible to run more than one client instance on a machine?

(Asked by: username_0 on 2011-09-27)

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.

**Tags:** client, bitcoind


---

## 1 answers

### Answer by username_1 on 2011-09-27. Score: 17 | Accepted answer

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.

> **Comments:**
> **username_0**: 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 ...  
> **username_1**: Oh, yes. I believe only one GUI can be running at the same time as well.  
> **username_0**: Yes, using bitcoind after few tests it seem work!  
> **username_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?  
> **username_3**: first you should run getpeerinfo using bitcoin-cli with datadir and addnode with the local ip and port  

---

