<p>The default RPC port for bitcoind is <strong>8332</strong>. Unless you've changed it with the <em>-rpcport</em> option, you should be connecting to that port instead.</p>

CC BY-SA 3.0
2014-08-13T18:35:16.120Z
2014-08-13T18:35:16.120Z
Justin Ramos
<p>Eventually you confused the P2Pool stratum port with the wallet node RPC port.</p>

<p>If you’ve set the wallet node RPC port to 3333, which by default is stratum port on the P2Pool as im aware, its very likely wrong set RPC credentials in the config of your wallet node.</p>

CC BY-SA 3.0
2014-03-28T02:27:46.277Z
2014-03-28T02:27:46.277Z
Aurigae
<p>I need some help to install and configure p2pool.
I run a Debian 7
installed bitcoin and litecoin (getinfo ok)
firewall with open port 3332 3333 8332 8333 9332 9327 9333 9338
installed p2pool and run it with</p>

<pre><code>python run_p2pool.py --net litecoin
</code></pre>

<p>I just keep having this error, googled for it but can't seem to find any correct answers for this.</p>

<pre><code>Testing bitcoind RPC connection to 'http://127.0.0.1:3333/' with username 'Litecoinrpc'...
2014-03-16 13:41:47.063358 &gt; Error while checking Bitcoin connection:
2014-03-16 13:41:47.063426 &gt; Traceback (most recent call last):
2014-03-16 13:41:47.063463 &gt; Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
</code></pre>

<p>Any help would be greatly appreciated</p>

<p2pool>
P2Pool twisted error
Sebastien Deschamps
# P2Pool twisted error

(Asked by: username_0 on 2014-03-16)

I need some help to install and configure p2pool.
I run a Debian 7
installed bitcoin and litecoin (getinfo ok)
firewall with open port 3332 3333 8332 8333 9332 9327 9333 9338
installed p2pool and run it with

```
python run_p2pool.py --net litecoin

```

I just keep having this error, googled for it but can't seem to find any correct answers for this.

```
Testing bitcoind RPC connection to 'http://127.0.0.1:3333/' with username 'Litecoinrpc'...
2014-03-16 13:41:47.063358 > Error while checking Bitcoin connection:
2014-03-16 13:41:47.063426 > Traceback (most recent call last):
2014-03-16 13:41:47.063463 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.

```

Any help would be greatly appreciated

**Tags:** p2pool


---

## 2 answers

### Answer by username_1 on 2014-08-13. Score: 1

The default RPC port for bitcoind is **8332**. Unless you've changed it with the *-rpcport* option, you should be connecting to that port instead.


---

### Answer by username_2 on 2014-03-28. Score: 0

Eventually you confused the P2Pool stratum port with the wallet node RPC port.

If you’ve set the wallet node RPC port to 3333, which by default is stratum port on the P2Pool as im aware, its very likely wrong set RPC credentials in the config of your wallet node.


---

