user4061: I'm at this part of the docs. The node is running (left terminal in the image below), but now I'm trying to query the blockchain from another terminal and receive the error:
cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)


I'm running the cardano node on a windows laptop inside an ubuntu terminal that I downloaded from the windows store (as recommended in the cardano docs here):

I think that maybe the two Ubuntu terminals are completely independent from each other and that's why the right terminal can't find the socket? I tried to install the cardano node on a raspberry Pi 4 also, so that I have a native environment, but the raspberry was just to slow for it...
EDIT:
I have set the socket path now like this at the bottom of my ~/.bashrc file:

then restarted the terminal, but still I receive the same error.

user6109: I was having this issue while trying to get the Plutus PAB to connect to the node. I tried lots of solutions but didn't get it to work until I changed the "testnet/node.sock" in the config (testnet/pab-config.yml). Perhaps it needed to be relative?
plutus-apps/plutus-pab/test-node/testnet/pab-config.yml
...
nodeServerConfig:
  pscSocketPath: testnet/node.sock
...


user7501: When you are specifying CARDANO_NODE_SOCKET_PATH in these formats:
"$NODE_HOME/db/socket" you must use double quotes around it
~/cardano/db/node.socket you don't need to give double quotes around it

user2688: I have found the solution for myself on a Coincashew tutorial.
https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#2-build-the-node-from-source-code
Basically i executed this:
echo export CARDANO_NODE_SOCKET_PATH="$NODE_HOME/db/socket" >> $HOME/.bashrc
source $HOME/.bashrc

That rewired the node path to socket (on the place of node.socket). Don't know what is the real difference but this way worked while the 'node.socket' path don't.

4061: <p>I'm at this part of the <a href="https://developers.cardano.org/docs/get-started/running-cardano" rel="nofollow noreferrer">docs</a>. The node is running (left terminal in the image below), but now I'm trying to query the blockchain from another terminal and receive the error:</p>
<pre><code>cardano-cli: Network.Socket.connect: &lt;socket: 11&gt;: does not exist (No such file or directory)
</code></pre>
<p><a href="https://i.stack.imgur.com/WNaNZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WNaNZ.png" alt="my two ubuntu terminals" /></a></p>
<p>I'm running the cardano node on a windows laptop inside an ubuntu terminal that I downloaded from the windows store (as recommended in the cardano docs <a href="https://developers.cardano.org/docs/get-started/installing-cardano-node" rel="nofollow noreferrer">here</a>):</p>
<p><a href="https://i.stack.imgur.com/lwLAD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lwLAD.png" alt="windows store" /></a></p>
<p>I think that maybe the two Ubuntu terminals are completely independent from each other and that's why the right terminal can't find the socket? I tried to install the cardano node on a raspberry Pi 4 also, so that I have a native environment, but the raspberry was just to slow for it...</p>
<p><strong>EDIT:</strong>
I have set the socket path now like this at the bottom of my ~/.bashrc file:</p>
<p><a href="https://i.stack.imgur.com/CRw2R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CRw2R.png" alt="enter image description here" /></a></p>
<p>then restarted the terminal, but still I receive the same error.</p>
 6109: <p>I was having this issue while trying to get the Plutus PAB to connect to the node. I tried lots of solutions but didn't get it to work until I changed the &quot;testnet/node.sock&quot; in the config (testnet/pab-config.yml). Perhaps it needed to be relative?</p>
<p><strong>plutus-apps/plutus-pab/test-node/testnet/pab-config.yml</strong></p>
<pre><code>...
nodeServerConfig:
  pscSocketPath: testnet/node.sock
...
</code></pre>
 7501: <p>When you are specifying <code>CARDANO_NODE_SOCKET_PATH</code> in these formats:</p>
<p><code>&quot;$NODE_HOME/db/socket&quot;</code> you must use double quotes around it</p>
<p><code>~/cardano/db/node.socket</code> you don't need to give double quotes around it</p>
 2688: <p>I have found the solution for myself on a Coincashew tutorial.
<a href="https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#2-build-the-node-from-source-code" rel="nofollow noreferrer">https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#2-build-the-node-from-source-code</a></p>
<p>Basically i executed this:</p>
<pre><code>echo export CARDANO_NODE_SOCKET_PATH=&quot;$NODE_HOME/db/socket&quot; &gt;&gt; $HOME/.bashrc
source $HOME/.bashrc
</code></pre>
<p>That rewired the node path to socket (on the place of node.socket). Don't know what is the real difference but this way worked while the 'node.socket' path don't.</p>
