<p>Trying to connect to testnet using curl from localhost on ubuntu server. Tried lots of combinations of bitcoin.conf and ports.</p>

<p>Here's my config:</p>

<pre><code>server=1
daemon=1
testnet=1
rpcuser=user
rpcpassword=pswd
test.rpcport=18332
rpcconnect=127.0.0.1
rpcbind=127.0.0.1:18332
</code></pre>

<p>Any ideas?</p>

CC BY-SA 4.0
2019-04-11T08:50:35.133Z
`test.rpcport=18332` that's not right.
Claris
CC BY-SA 4.0
2019-04-11T09:06:26.403Z
Thanks, I've solved the issue, it was a silly mistake on my side
Yevgeniy
CC BY-SA 4.0
2019-04-11T14:08:55.063Z
Please either delete the question or post an answer explaining how you solved your problem, thanks.
RedGrittyBrick
<bitcoind><json-rpc><testnet>
bitcoind localhost port 18332: Connection refused Ubuntu 18
Yevgeniy
# bitcoind localhost port 18332: Connection refused Ubuntu 18

(Asked by: username_0 on 2019-04-11)

Trying to connect to testnet using curl from localhost on ubuntu server. Tried lots of combinations of bitcoin.conf and ports.

Here's my config:

```
server=1
daemon=1
testnet=1
rpcuser=user
rpcpassword=pswd
test.rpcport=18332
rpcconnect=127.0.0.1
rpcbind=127.0.0.1:18332

```

Any ideas?

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

> **Comments:**
> **username_1**: `test.rpcport=18332` that's not right.  
> **username_0**: Thanks, I've solved the issue, it was a silly mistake on my side  
> **username_2**: Please either delete the question or post an answer explaining how you solved your problem, thanks.  

---

## 0 answers

