<p>Have you checked the following:</p>

<ul>
<li><p>do you use bitcoin rpc standard port for the network you are using? If not or not sure specify it explicitly with <code>--daemon-rpc-addr 127.0.0.1:8332</code> </p></li>
<li><p>Are you sure the <code>.cookie</code> file is in the default position? Try the explicit option <code>--cookie username:password</code></p></li>
<li><p>Is bitcoind on the same machine? By default only rpc connection from localhost are allowed</p></li>
</ul>

<p>If none of the above work, please post log from eletrs</p>

CC BY-SA 4.0
2020-04-02T16:56:10.093Z
How do I access the electrs logs?
oshirowanen
CC BY-SA 4.0
2020-04-03T06:57:00.693Z
copy and paste stdout
Riccardo Casatta
CC BY-SA 4.0
2020-04-11T15:21:14.947Z
Further details added.
oshirowanen
CC BY-SA 4.0
2020-04-13T08:04:53.707Z
so I imagine /mnt/shared/.cookie file contains your rpcuser and rpcpassword, not sure what's happening, did you try to launch electrs with the explicit `--cookie RPCUSER:RPCPASSWORD` option?
Riccardo Casatta
CC BY-SA 4.0
2020-04-15T20:23:23.013Z
`--cookie RPCUSER:RPCPASSWORD` worked, but it doesn't work in the `.cookie` file.  Thanks for the help.  Now I have another error.  Will create a new post for that.
oshirowanen
CC BY-SA 4.0
2020-03-04T08:38:33.850Z
2020-03-04T08:38:33.850Z
Riccardo Casatta
<p>Continuing on from this post: <a href="https://bitcoin.stackexchange.com/questions/93498/configure-esplora-to-point-to-the-bitcoind-servers-ip-address-part-2">Configure esplora to point to the bitcoind servers ip address - Part 2</a></p>

<p>Trying to run <code>cargo run --release --bin electrs -- -vvv --daemon-dir ~/.bitcoin</code>, but it kept saying <code>- reconnecting to bitcoind: no reply from daemon</code>.</p>

<p>The <code>bitcoin.conf</code> file has a <code>rpcuser</code> and <code>rpcpassword</code> set.  I have set the same <code>username:password</code> in in that format for the <code>.cookie</code> file for electrs.</p>

<p>Any idea why it's not connecting?</p>

<hr>

<p>EDIT:</p>

<p>More details below:</p>

<p><a href="https://i.sstatic.net/LRH6N.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LRH6N.png" alt="enter image description here"></a></p>

<p>I then create .cookie file in that location with the rpc username:password and then get this message: "no reply from daemon"</p>

<p><a href="https://i.sstatic.net/3Zyqp.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3Zyqp.png" alt="enter image description here"></a></p>

<bitcoin-core><blockchain><ubuntu><blockexplorer><esplora>
Configure esplora to point to the bitcoind servers ip address - Part 3
oshirowanen
# Configure esplora to point to the bitcoind servers ip address - Part 3

(Asked by: username_0 on 2020-03-03)

Continuing on from this post: [Configure esplora to point to the bitcoind servers ip address - Part 2](https://bitcoin.stackexchange.com/questions/93498/configure-esplora-to-point-to-the-bitcoind-servers-ip-address-part-2)

Trying to run `cargo run --release --bin electrs -- -vvv --daemon-dir ~/.bitcoin`, but it kept saying `- reconnecting to bitcoind: no reply from daemon`.

The `bitcoin.conf` file has a `rpcuser` and `rpcpassword` set. I have set the same `username:password` in in that format for the `.cookie` file for electrs.

Any idea why it's not connecting?

---

EDIT:

More details below:

[![enter image description here](https://i.sstatic.net/LRH6N.png)](https://i.sstatic.net/LRH6N.png)

I then create .cookie file in that location with the rpc username:password and then get this message: "no reply from daemon"

[![enter image description here](https://i.sstatic.net/3Zyqp.png)](https://i.sstatic.net/3Zyqp.png)

**Tags:** bitcoin-core, blockchain, ubuntu, blockexplorer, esplora


---

## 1 answers

### Answer by username_1 on 2020-03-04. Score: 1 | Accepted answer

Have you checked the following:

* do you use bitcoin rpc standard port for the network you are using? If not or not sure specify it explicitly with `--daemon-rpc-addr 127.0.0.1:8332`
* Are you sure the `.cookie` file is in the default position? Try the explicit option `--cookie username:password`
* Is bitcoind on the same machine? By default only rpc connection from localhost are allowed

If none of the above work, please post log from eletrs

> **Comments:**
> **username_0**: How do I access the electrs logs?  
> **username_1**: copy and paste stdout  
> **username_0**: Further details added.  
> **username_1**: so I imagine /mnt/shared/.cookie file contains your rpcuser and rpcpassword, not sure what's happening, did you try to launch electrs with the explicit `--cookie RPCUSER:RPCPASSWORD` option?  
> **username_0**: `--cookie RPCUSER:RPCPASSWORD` worked, but it doesn't work in the `.cookie` file.  Thanks for the help.  Now I have another error.  Will create a new post for that.  

---

