<p>Start up a Cardano Node.</p>
<p>Also, make sure to set the node socket path to to location of your node.sock file is:</p>
<pre><code>export CARDANO_NODE_SOCKET_PATH=/cardano-node/example/socket/
</code></pre>

CC BY-SA 4.0
2022-03-14T04:17:02.377Z
It would make sense if it was looking for a Cardano Node, but the instructions specifically say, "It doesn't use a local Cardano node, nor the chain index." I might try it anyway.
Mitchell Turner
CC BY-SA 4.0
2022-03-16T06:16:40.507Z
I just needed to spin up a Cardano Node. Thanks.
Mitchell Turner
CC BY-SA 4.0
2022-03-16T06:19:38.327Z
I want to award you the answer, but we should probably only include the Cardano Node in the answer. The index and wallet aren't necessary, and it doesn't use the socket path env var.
Mitchell Turner
CC BY-SA 4.0
2022-03-18T03:47:48.570Z
I revised my answer.  Thanks!
dailyinvention
CC BY-SA 4.0
2022-03-18T20:53:47.367Z
The node socket  env var isn't used AFAICT. It uses the `pscSocketPath` value in `plutus-pab-executables/demo/pab-nami/pab/plutus-pab.yaml`. I actually have an PR up on the repo to fix the instructions:
https://github.com/input-output-hk/plutus-apps/pull/362
Mitchell Turner
CC BY-SA 4.0
2022-03-18T22:56:38.357Z
Although my answer helped you along, it seems like you've discovered the actual solution.  I'm not sure the best way to make the changes on this post.  I think I'll leave as-is for now.
dailyinvention
CC BY-SA 4.0
2022-03-18T23:12:10.580Z
Cool. I'll add an answer once my PR goes through, I guess. Thanks for your help!
Mitchell Turner
CC BY-SA 4.0
2022-03-14T04:02:24.173Z
2022-03-18T03:47:08.803Z
2022-03-18T03:47:08.803Z
dailyinvention
<p>The issue was I needed a Cardano Node running and I needed to point at the socket. To point your PAB at the socket, update the <code>pscSocketPath</code> value in <code>plutus-pab-executables/demo/pab-nami/pab/plutus-pab.yaml</code>. I got node running following the instructions <a href="https://developers.cardano.org/docs/get-started/installing-cardano-node/" rel="nofollow noreferrer">here</a>.</p>

CC BY-SA 4.0
2022-03-26T23:27:39.817Z
I created a PR to update the docs to include this information. That has been merged.
Mitchell Turner
CC BY-SA 4.0
2022-03-26T23:27:13.067Z
2022-03-26T23:27:13.067Z
Mitchell Turner
<p>I'm trying to run the <a href="https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables/demo/pab-nami#pab-nami-simple-demo" rel="nofollow noreferrer">PAB-Nami simple demo</a> in the Plutus Apps repo. When I run the PAB, either using <code>cabal</code> or with the <code>nix-shell</code> script, I'm getting the error:</p>
<pre><code>plutus-pab-nami-demo: Network.Socket.connect: &lt;socket: 18&gt;: does not exist (No such file or directory)
</code></pre>
<p>I'm not sure what's going wrong, and there is no mention of configuring the socket in the README.</p>
<p>Any ideas?</p>

<cabal><plutus-pab><pab><nix-shell>
Why can't the PAB webserver find a socket in PAB-Nami demo?
# Why can't the PAB webserver find a socket in PAB-Nami demo?

(Asked by: username_0 on 2022-03-13)

I'm trying to run the PAB-Nami simple demo in the Plutus Apps repo. When I run the PAB, either using cabal or with the nix-shell script, I'm getting the error:
plutus-pab-nami-demo: Network.Socket.connect: : does not exist (No such file or directory)

I'm not sure what's going wrong, and there is no mention of configuring the socket in the README.
Any ideas?

**Tags:** cabal, plutus-pab, pab, nix-shell

---

## 2 answers

### Answer by username_1 on 2022-03-14. Score: 1

Start up a Cardano Node.
Also, make sure to set the node socket path to to location of your node.sock file is:
export CARDANO_NODE_SOCKET_PATH=/cardano-node/example/socket/

> **Comments:**
> **username_0**: It would make sense if it was looking for a Cardano Node, but the instructions specifically say, "It doesn't use a local Cardano node, nor the chain index." I might try it anyway.  
> **username_0**: I just needed to spin up a Cardano Node. Thanks.  
> **username_0**: I want to award you the answer, but we should probably only include the Cardano Node in the answer. The index and wallet aren't necessary, and it doesn't use the socket path env var.  
> **username_1**: I revised my answer.  Thanks!  
> **username_0**: The node socket  env var isn't used AFAICT. It uses the `pscSocketPath` value in `plutus-pab-executables/demo/pab-nami/pab/plutus-pab.yaml`. I actually have an PR up on the repo to fix the instructions: https://github.com/input-output-hk/plutus-apps/pull/362  
> **username_1**: Although my answer helped you along, it seems like you've discovered the actual solution.  I'm not sure the best way to make the changes on this post.  I think I'll leave as-is for now.  
> **username_0**: Cool. I'll add an answer once my PR goes through, I guess. Thanks for your help!  

---

### Answer by username_0 on 2022-03-26. Score: 0

The issue was I needed a Cardano Node running and I needed to point at the socket. To point your PAB at the socket, update the `pscSocketPath` value in `plutus-pab-executables/demo/pab-nami/pab/plutus-pab.yaml`. I got node running following the instructions [here](https://developers.cardano.org/docs/get-started/installing-cardano-node/).

> **Comments:**
> **username_0**: I created a PR to update the docs to include this information. That has been merged.  

---

