<p>You can't. WSL is a linux container on windows that expects a POSIX socket and Daedalus on windows uses named pipes. They aren't compatible. You may be able to symlink the state directory from Daedalus to WSL and stop daedalus and run a node in WSL, although I've never tested this and don't know if it would work.</p>

CC BY-SA 4.0
2022-01-15T03:57:07.590Z
2022-01-15T03:57:07.590Z
Samuel Leathers
<p>I have the Daedalus wallet/node desktop app installed on Windows 10. And I also have the <code>cardano-cli</code> set up on WSL2 Ubuntu 20.04.</p>
<p>How can I point my WSL <code>cardano-cli</code> to the <code>cardano-node</code> that's inside Daedalus?</p>
<p>Most instructions say to do this:</p>
<pre>
export CARDANO_NODE_SOCKET_PATH=$(ps ax | grep -v grep | grep cardano-wallet | grep mainnet | sed -r 's/(.*)node-socket //')
</pre>
<p>But that's in WSL and I don't think it can see Daedalus in the Windows OS.</p>
<p>So, how do I find the socket path of Daedalus on Windows 10? And after that can I simply assign it to <code>CARDANO_NODE_SOCKET_PATH</code>?</p>

<cardano-cli><cardano-node><daedalus>
How to connect WSL cardano-cli to Daedalus cardano-node on Windows?
# How to connect WSL cardano-cli to Daedalus cardano-node on Windows?

(Asked by: username_0 on 2022-01-14)

I have the Daedalus wallet/node desktop app installed on Windows 10. And I also have the cardano-cli set up on WSL2 Ubuntu 20.04.
How can I point my WSL cardano-cli to the cardano-node that's inside Daedalus?
Most instructions say to do this:

export CARDANO_NODE_SOCKET_PATH=$(ps ax | grep -v grep | grep cardano-wallet | grep mainnet | sed -r 's/(.*)node-socket //')

But that's in WSL and I don't think it can see Daedalus in the Windows OS.
So, how do I find the socket path of Daedalus on Windows 10? And after that can I simply assign it to CARDANO_NODE_SOCKET_PATH?

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

---

## 1 answers

### Answer by username_1 on 2022-01-15. Score: 2

You can't. WSL is a linux container on windows that expects a POSIX socket and Daedalus on windows uses named pipes. They aren't compatible. You may be able to symlink the state directory from Daedalus to WSL and stop daedalus and run a node in WSL, although I've never tested this and don't know if it would work.


---

