<p>I just needed to solve a similar issue of modifying the config file through the preference tab and then I could not launch Bitcoin Qt anymore.</p>
<p>The bitcoin.config file is located here /Users/username/Library/Application Support/Bitcoin</p>
<p>But you need to go to the Finder app and hit <kbd>cmd ⌘</kbd>+<kbd>⇧ shift</kbd>+<kbd>.</kbd> first to show hidden folders and files.</p>

CC BY-SA 4.0
2022-10-26T13:31:53.137Z
2022-10-28T18:16:20.937Z
2022-10-28T18:16:20.937Z
Honza
<p>I have installed bitcoin core on mac and accessed the config file from the preferences tab on the bitcoin-qt.  </p>

<p>Now, I have started testnet on it by the below settings.  </p>

<pre><code>testnet=1
server=1
rpcuser=xxxxx
rpcpassword=xxxxxx
rpctimeout=30000
rpcport=8332
</code></pre>

<p>I was able to run it properly. so I thought of accessing the RPC from other systems, so I have assigned a public IP to it and in the config file, I have mentioned</p>

<pre><code>rpcallowip=0.0.0.0
</code></pre>

<p>Now, I tried starting qt on my mac but unable to start it as it throws <code>Invalid -rpcallowip subnet specification</code> and I could not open the preferences tab and then open the configuration file.  </p>

<p>I have tried to access the folder directly by going to the location <code>'~/Library/Application Support/Bitcoin/'</code> but there was no folder named <code>Bitcoin</code> in my mac.</p>

<p>Is there any other location, where it would be?</p>

<p>I have searched the entire system using bitcoin.conf but found no results.</p>

<p>can anyone help me on this?</p>

CC BY-SA 3.0
2017-10-03T12:53:11.510Z
How did you put that config file (the top snippet) if there was non in that folder? The subnet specification might mean that you need to add a `/n` suffix to the IP, like `0.0.0.0/0`. This is useful to allow all on local network, like this `192.168.0.0/24`.
Steven Roose
CC BY-SA 3.0
2017-10-04T04:08:49.193Z
Hello @StevenRoose : thanks for the reply. I've done it from bitcoin qt where there is an option to open configuration file from preferences tab.
RealSteel
CC BY-SA 3.0
2017-10-14T09:16:28.463Z
Finally I found an answer using this comment [here](https://bitcoin.stackexchange.com/a/4359/60371)
RealSteel
<bitcoin-core><bitcoind><bitcoin.conf><bitcoin-qt-setup>
bitcoin.conf file on mac
RealSteel
# bitcoin.conf file on mac

(Asked by: username_0 on 2017-10-03)

I have installed bitcoin core on mac and accessed the config file from the preferences tab on the bitcoin-qt.  
Now, I have started testnet on it by the below settings.  
testnet=1
server=1
rpcuser=xxxxx
rpcpassword=xxxxxx
rpctimeout=30000
rpcport=8332

I was able to run it properly. so I thought of accessing the RPC from other systems, so I have assigned a public IP to it and in the config file, I have mentioned
rpcallowip=0.0.0.0

Now, I tried starting qt on my mac but unable to start it as it throws Invalid -rpcallowip subnet specification and I could not open the preferences tab and then open the configuration file.  
I have tried to access the folder directly by going to the location '~/Library/Application Support/Bitcoin/' but there was no folder named Bitcoin in my mac.
Is there any other location, where it would be?
I have searched the entire system using bitcoin.conf but found no results.
can anyone help me on this?

**Tags:** bitcoin-core, bitcoind, bitcoin.conf, bitcoin-qt-setup

> **Comments:**
> **username_1**: How did you put that config file (the top snippet) if there was non in that folder? The subnet specification might mean that you need to add a `/n` suffix to the IP, like `0.0.0.0/0`. This is useful to allow all on local network, like this `192.168.0.0/24`.  
> **username_0**: Hello @StevenRoose : thanks for the reply. I've done it from bitcoin qt where there is an option to open configuration file from preferences tab.  
> **username_0**: Finally I found an answer using this comment [here](https://bitcoin.stackexchange.com/a/4359/60371)  

---

## 1 answers

### Answer by username_2 on 2022-10-26. Score: 0

I just needed to solve a similar issue of modifying the config file through the preference tab and then I could not launch Bitcoin Qt anymore.

The bitcoin.config file is located here /Users/username/Library/Application Support/Bitcoin

But you need to go to the Finder app and hit `cmd ⌘`+`⇧ shift`+`.` first to show hidden folders and files.


---

