<blockquote>
<p><strong>I checked the bitcon.conf inside the main folder ... what did I do wrong?</strong></p>
</blockquote>
<p>Clearly, you don't mean a folder named <code>main</code>, but you are being a little vague. One possibility is that Bitcoin core isn't looking for <code>bitcoin.conf</code> in the place you think it is.</p>
<p>On windows it typically looks in <code>%APPDATA%\Bitcoin</code></p>
<p>On Linux it typically looks in <code>$HOME/.bitcoin</code></p>
<p>You can specify a particular path to a file using a command option such as</p>
<p><code>-conf=/path/bitcoin.conf</code></p>

CC BY-SA 4.0
2024-02-04T16:37:54.633Z
Thanks. I started using -conf and now it's working. So i will check where it is pulling it from normally.
donbolli
CC BY-SA 4.0
2024-02-04T18:58:48.053Z
Found, I just had to copy the conf file to the folder where the node saves the data, did it
donbolli
CC BY-SA 4.0
2024-02-04T10:25:21.363Z
2024-02-04T10:25:21.363Z
RedGrittyBrick
<p>The research showed me that it is difficult to connect to Umbrel using the clear net. So I installed Bitcoin Core on my machine and synced the Blockchain. Now I get <code>ConnectionRefusedError: [Errno 111] Connection refused</code> as a result. I checked the bitcon.conf inside the main folder, I run bitcoin-qt</p>
<p>what I did in the bitcoin.conf</p>
<pre><code>rpcuser=bitcoin
rpcpassword=pass
rpcport=8332
server=1
</code></pre>
<p>what else do I need or what did I do wrong?</p>

<bitcoin-core>
RPC to Bitcoin Core
donbolli
# RPC to Bitcoin Core

(Asked by: username_0 on 2024-02-04)

The research showed me that it is difficult to connect to Umbrel using the clear net. So I installed Bitcoin Core on my machine and synced the Blockchain. Now I get `ConnectionRefusedError: [Errno 111] Connection refused` as a result. I checked the bitcon.conf inside the main folder, I run bitcoin-qt

what I did in the bitcoin.conf

```
rpcuser=bitcoin
rpcpassword=pass
rpcport=8332
server=1

```

what else do I need or what did I do wrong?

**Tags:** bitcoin-core


---

## 1 answers

### Answer by username_1 on 2024-02-04. Score: 0 | Accepted answer

> **I checked the bitcon.conf inside the main folder ... what did I do wrong?**

Clearly, you don't mean a folder named `main`, but you are being a little vague. One possibility is that Bitcoin core isn't looking for `bitcoin.conf` in the place you think it is.

On windows it typically looks in `%APPDATA%\Bitcoin`

On Linux it typically looks in `$HOME/.bitcoin`

You can specify a particular path to a file using a command option such as

`-conf=/path/bitcoin.conf`

> **Comments:**
> **username_0**: Thanks. I started using -conf and now it's working. So i will check where it is pulling it from normally.  
> **username_0**: Found, I just had to copy the conf file to the folder where the node saves the data, did it  

---

