# Connection refused, errno = 111, address = localhost, port = 57838 #0

**URL:** <https://forum.algorand.co/t/connection-refused-errno-111-address-localhost-port-57838-0/4429>\
**Category:** General\
**Tags:** testnet\
**Created:** [October 1, 2021, 1:19pm UTC](https://forum.algorand.co/t/connection-refused-errno-111-address-localhost-port-57838-0/4429 "2021-10-01T13:19:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [October 4, 2021, 1:56pm UTC](https://forum.algorand.co/t/connection-refused-errno-111-address-localhost-port-57838-0/4429/4 "2021-10-04T13:56:43Z")

</div>

If you are using Sandbox, the port should be 4002 not 57838.  
See [GitHub - algorand/sandbox: Algorand node sandbox](https://github.com/algorand/sandbox)

Can you show the code of `CreateWalletRequestBuilder()`?

Also, the use of kmd is very limited.  
Most dApps should use AlgoSigner ([AlgoSigner | Algorand Wallet Extension for Chrome | PureStake](https://www.purestake.com/technology/algosigner/)), MyAlgoConnect ([Introducing MyAlgo Connect for DApp Developers | Algorand Developer Portal](https://developer.algorand.org/articles/introducing-myalgo-connect/)), or WalletConnect ([WalletConnect - Algorand Developer Portal](https://developer.algorand.org/docs/get-details/walletconnect/)).

---

_[View the full topic](https://forum.algorand.co/t/connection-refused-errno-111-address-localhost-port-57838-0/4429)._
