<p>I'm trying to setup a bitcoin lightning node on my NAS (Synology), following this tutorial: <a href="https://bitcoindev.network/running-a-lightning-node-on-synology-nas/" rel="nofollow noreferrer">https://bitcoindev.network/running-a-lightning-node-on-synology-nas/</a></p>
<p>Unfortunately I get the following error (log):</p>
<pre><code>lightningd: WARNING: default network changing in 2020: please set network=testnet in config!
bcli: 
Could not connect to bitcoind using bitcoin-cli. Is bitcoind running?
    
Make sure you have bitcoind running and that bitcoin-cli is able to connect to bitcoind.

You can verify that your Bitcoin Core installation is ready for use by running:
    
        $ bitcoin-cli -testnet echo 'hello world'   

2020-06-30T19:45:20.256Z INFO plugin-bcli: Killing plugin: Plugin exited before completing handshake.
The Bitcoin backend died.
lightningd: WARNING: default network changing in 2020: please set network=testnet in config!
</code></pre>
<p>My lightning.conf contains the following:</p>
<pre><code>alias=myalias
network=bitcoin
bitcoin-rpcuser=myusername
bitcoin-rpcpassword=mypassword
bitcoin-rpcconnect=127.0.0.1
bitcoin-rpcport=18332
log-level=io
</code></pre>
<p>I've tried several parameters for bitcoin-rpcconnect (internal ip, external ip of my bitcoin node including the right ports).</p>
<p>Since my bitcoin node is running on mainnet I try to setup the lightning node for mainnet as well.</p>
<p>So does anyone knows what I'm doing wrong?</p>

CC BY-SA 4.0
2020-07-01T09:07:23.830Z
It seems that `lightningd` isn't using the mainnet (notice the `-testnet` in the `bitcoin-cli` line), are you sure the config is in the correct place? Notice that you call the file `lightning.conf` but it should really just be `config` in the correct directory.
cdecker
CC BY-SA 4.0
2020-07-01T16:34:22.800Z
I tried to name the file just ```config``` but unfortunately it gives the same error. So any ideas what else it might be?
WaZZa
CC BY-SA 4.0
2020-07-02T17:05:17.170Z
You can always pass any options you have specified in the config on the command line, `alias=myalias` just becomes `--alias=myalias` and so forth. That eliminates at least the config filename source for issues.
cdecker
<core-lightning>
Bitcoin c-lightning node on Synology cannot connect to bitcoind
WaZZa
# Bitcoin c-lightning node on Synology cannot connect to bitcoind

(Asked by: username_0 on 2020-06-30)

I'm trying to setup a bitcoin lightning node on my NAS (Synology), following this tutorial: https://bitcoindev.network/running-a-lightning-node-on-synology-nas/
Unfortunately I get the following error (log):
lightningd: WARNING: default network changing in 2020: please set network=testnet in config!
bcli: 
Could not connect to bitcoind using bitcoin-cli. Is bitcoind running?
    
Make sure you have bitcoind running and that bitcoin-cli is able to connect to bitcoind.

You can verify that your Bitcoin Core installation is ready for use by running:
    
        $ bitcoin-cli -testnet echo 'hello world'   

2020-06-30T19:45:20.256Z INFO plugin-bcli: Killing plugin: Plugin exited before completing handshake.
The Bitcoin backend died.
lightningd: WARNING: default network changing in 2020: please set network=testnet in config!

My lightning.conf contains the following:
alias=myalias
network=bitcoin
bitcoin-rpcuser=myusername
bitcoin-rpcpassword=mypassword
bitcoin-rpcconnect=127.0.0.1
bitcoin-rpcport=18332
log-level=io

I've tried several parameters for bitcoin-rpcconnect (internal ip, external ip of my bitcoin node including the right ports).
Since my bitcoin node is running on mainnet I try to setup the lightning node for mainnet as well.
So does anyone knows what I'm doing wrong?

**Tags:** core-lightning

> **Comments:**
> **username_1**: It seems that `lightningd` isn't using the mainnet (notice the `-testnet` in the `bitcoin-cli` line), are you sure the config is in the correct place? Notice that you call the file `lightning.conf` but it should really just be `config` in the correct directory.  
> **username_0**: I tried to name the file just ```config``` but unfortunately it gives the same error. So any ideas what else it might be?  
> **username_1**: You can always pass any options you have specified in the config on the command line, `alias=myalias` just becomes `--alias=myalias` and so forth. That eliminates at least the config filename source for issues.  

---

## 0 answers

