<p>I need to use bitcoin testnet3 server for testing via php.</p>
<blockquote>
<p><strong>bitcoin.conf</strong></p>
<p>rpcuser=bitcoinrpc</p>
<p>rpcpassword=random string</p>
<p>testnet=1</p>
<p><strong>create JsonRpc object with easy bitcoin</strong>:</p>
<p>$bitcoin = new Bitcoin('bitcoinrpc', 'random string', 'localhost', 18332);</p>
</blockquote>
<p>what is the solution for this? does rpc port is right for tesnet3 server?</p>

CC BY-SA 3.0
2015-08-14T07:02:04.090Z
Yeah, that all looks fine. Are you having a problem with it?
Nick ODell
CC BY-SA 3.0
2015-08-14T07:25:44.593Z
@NickODell I thought Bitcoind/cli was disabled without the the `daemon`/`server` flags?
Wizard Of Ozzie
CC BY-SA 3.0
2015-08-14T08:12:52.610Z
note: `mainnet` and `testnet rpcpassword` are same
Md Shahadat Hossain
<bitcoind><testnet>
what is the bitcoin.conf for testnet3?
Md Shahadat Hossain
# what is the bitcoin.conf for testnet3?

(Asked by: username_0 on 2015-08-14)

I need to use bitcoin testnet3 server for testing via php.

> **bitcoin.conf**
>
> rpcuser=bitcoinrpc
>
> rpcpassword=random string
>
> testnet=1
>
> **create JsonRpc object with easy bitcoin**:
>
> $bitcoin = new Bitcoin('bitcoinrpc', 'random string', 'localhost', 18332);

what is the solution for this? does rpc port is right for tesnet3 server?

**Tags:** bitcoind, testnet

> **Comments:**
> **username_1**: Yeah, that all looks fine. Are you having a problem with it?  
> **username_2**: @NickODell I thought Bitcoind/cli was disabled without the the `daemon`/`server` flags?  
> **username_0**: note: `mainnet` and `testnet rpcpassword` are same  

---

## 0 answers

