user4218: 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?

user382: 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.

4218: <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>
 382: <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>
