# Listing accounts from Primary node on sandbox private network

**URL:** <https://forum.algorand.co/t/listing-accounts-from-primary-node-on-sandbox-private-network/6187>\
**Category:** General\
**Created:** [March 3, 2022, 7:40pm UTC](https://forum.algorand.co/t/listing-accounts-from-primary-node-on-sandbox-private-network/6187 "2022-03-03T19:40:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisdanielgp](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/luisdanielgp/32/1751_2.png) [@luisdanielgp](https://forum.algorand.co/u/luisdanielgp)\
**Post date:** [March 3, 2022, 7:40pm UTC](https://forum.algorand.co/t/listing-accounts-from-primary-node-on-sandbox-private-network/6187/1 "2022-03-03T19:40:14Z")

</div>

Hi! I am trying to list accounts on a sandbox private network, according to the network template two nodes are created, one in the Node directory and the other one in the Primary directory. I can list Node accounts without a problem but when trying to list Primary accounts I get a `connection refused` error. Here’s the command I’m running:  
`$ sandbox goal -d /opt/testnetwork/Primary account list `  
And the response:  
`Couldn't list wallets: Get "http://127.0.0.1:7833/v1/wallets": dial tcp 127.0.0.1:7833: connect: connection refused`

---

<div class="post-metadata">

**Author:** ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)\
**Post date:** [March 4, 2022, 12:41am UTC](https://forum.algorand.co/t/listing-accounts-from-primary-node-on-sandbox-private-network/6187/2 "2022-03-04T00:41:18Z")

</div>

It looks like you need to first run:

```auto
./sandbox goal -d /opt/testnetwork/Primary kmd start

```

Why do you want to access those wallets from `Primary`?

---

<div class="post-metadata">

**Author:** ![luisdanielgp](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/luisdanielgp/32/1751_2.png) [@luisdanielgp](https://forum.algorand.co/u/luisdanielgp)\
**Post date:** [March 4, 2022, 1:06am UTC](https://forum.algorand.co/t/listing-accounts-from-primary-node-on-sandbox-private-network/6187/3 "2022-03-04T01:06:18Z")

</div>

Thanks fabrice! that worked 🙂  
I am writing a CLI for managing my local development environment and was trying to replicate what Jason did in this [script](https://github.com/algorand/smart-contracts/blob/master/devrel/demo/createapp.sh)
