<p>It's not possible to configure the pipe name used by Daedalus.</p>
<p>But you could use powershell to find it. Something like:</p>
<pre><code>$Env:CARDANO_NODE_SOCKET_PATH = &quot;\\.\pipe\cardano-node-mainnet.$( (Get-Process -Name daedalus).Id ).0&quot;
</code></pre>

CC BY-SA 4.0
2022-04-04T09:36:45.530Z
Here is a similar question with extra details: https://cardano.stackexchange.com/questions/287/can-daedalus-be-used-to-query-the-blockchain-like-a-passive-node/7398
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-04-04T09:26:54.993Z
2022-04-04T09:26:54.993Z
rvl
<p>I'm on a Windows machine and would like to use <code>cardano-cli</code> to interact with the Cardano network. I have Daedalus running which is running an instance of <code>cardano-node</code>. In order for the CLI to find the node, I have to specify the <code>CARDANO_NODE_SOCKET_PATH</code> environment variable to point to the named Windows pipe (for example, <code>\\.\pipe\cardano-node-mainnet.15992.0</code>).</p>
<p>The problem is that every time Daedalus is closed and re-opened, it will use a different named pipe. Therefore, I need to update the <code>CARDANO_NODE_SOCKET_PATH</code> each time.</p>
<p>Is there a way to specify the Windows named pipe for Daedalus such that it would be static?</p>

<cardano-cli><cardano-node><daedalus>
Is it possible to specify a Windows named pipe for Daedalus?
# Is it possible to specify a Windows named pipe for Daedalus?

(Asked by: username_0 on 2022-04-04)

I'm on a Windows machine and would like to use `cardano-cli` to interact with the Cardano network. I have Daedalus running which is running an instance of `cardano-node`. In order for the CLI to find the node, I have to specify the `CARDANO_NODE_SOCKET_PATH` environment variable to point to the named Windows pipe (for example, `\\.\pipe\cardano-node-mainnet.15992.0`).

The problem is that every time Daedalus is closed and re-opened, it will use a different named pipe. Therefore, I need to update the `CARDANO_NODE_SOCKET_PATH` each time.

Is there a way to specify the Windows named pipe for Daedalus such that it would be static?

**Tags:** cardano-cli, cardano-node, daedalus

---

## 1 answers

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

It's not possible to configure the pipe name used by Daedalus.
But you could use powershell to find it. Something like:
$Env:CARDANO_NODE_SOCKET_PATH = "\\.\pipe\cardano-node-mainnet.$( (Get-Process -Name daedalus).Id ).0"

> **Comments:**
> **username_2**: Here is a similar question with extra details: https://cardano.stackexchange.com/questions/287/can-daedalus-be-used-to-query-the-blockchain-like-a-passive-node/7398  

---

