<p>You need to be running <code>bitcoind</code> with the <code>-server</code> option set as well as <code>-rpcuser</code> and <code>-rpcpass</code>. These can alternatively be set as lines in your <code>bitcoin.conf</code>. The RPC port will only be open on 8332 if all three of these options are correctly set. </p>

CC BY-SA 3.0
2013-12-06T13:17:16.443Z
bitcoind -server -rpcuser=USER_NAME -rpcpassword=PASSWORD with bitcoin.conf : rpcuser=USER_NAME
rpcpassword=PASSWORD
rpcallowip=*                      still no open port on 8332!
Wizard Of Ozzie
CC BY-SA 3.0
2013-12-06T13:21:44.837Z
`-printtoconsole` and check the output.
Anonymous
CC BY-SA 3.0
2013-12-06T01:21:07.243Z
2013-12-06T01:21:07.243Z
Anonymous
<p>Using Win7 64 bit I'm trying to get bitcoind (v0.8.5) to work.</p>

<p>Bitcoin.conf has the following content (in the %appdata%\bitcoin dir):
rpcuser=12345
rpcpassword=12345</p>

<p>I run using command line: bitcoind -rpcpassword=12345 </p>

<p>I then use the NIRSOFT app cports-x64 which shows list of open TCP/IP and UDP ports on computer. Bitcoind is in the list but only with port 8883. </p>

<p>Why is the RPC connection not working such that port 8882 (default RPC port) is open and mapped to 127.0.0.1?</p>

<bitcoind><json-rpc><windows>
Bitcoind under Windows 7; RPC port 8882 not opening
Wizard Of Ozzie
# Bitcoind under Windows 7; RPC port 8882 not opening

(Asked by: username_0 on 2013-12-06)

Using Win7 64 bit I'm trying to get bitcoind (v0.8.5) to work.

Bitcoin.conf has the following content (in the %appdata%\bitcoin dir):
rpcuser=12345
rpcpassword=12345

I run using command line: bitcoind -rpcpassword=12345

I then use the NIRSOFT app cports-x64 which shows list of open TCP/IP and UDP ports on computer. Bitcoind is in the list but only with port 8883.

Why is the RPC connection not working such that port 8882 (default RPC port) is open and mapped to 127.0.0.1?

**Tags:** bitcoind, json-rpc, windows


---

## 1 answers

### Answer by username_1 on 2013-12-06. Score: 1

You need to be running `bitcoind` with the `-server` option set as well as `-rpcuser` and `-rpcpass`. These can alternatively be set as lines in your `bitcoin.conf`. The RPC port will only be open on 8332 if all three of these options are correctly set.

> **Comments:**
> **username_0**: bitcoind -server -rpcuser=USER_NAME -rpcpassword=PASSWORD with bitcoin.conf : rpcuser=USER_NAME rpcpassword=PASSWORD rpcallowip=*                      still no open port on 8332!  
> **username_1**: `-printtoconsole` and check the output.  

---

