# Proxy error ECONNREFUSED when using daml-ui-template

**URL:** <https://forum.canton.network/t/proxy-error-econnrefused-when-using-daml-ui-template/3615>\
**Category:** App Development\
**Created:** [December 21, 2021, 5:11pm UTC](https://forum.canton.network/t/proxy-error-econnrefused-when-using-daml-ui-template/3615 "2021-12-21T17:11:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaul](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/shaul/32/117_2.png) [@Shaul](https://forum.canton.network/u/Shaul)\
**Post date:** [December 21, 2021, 5:11pm UTC](https://forum.canton.network/t/proxy-error-econnrefused-when-using-daml-ui-template/3615/1 "2021-12-21T17:11:01Z")

</div>

I tried cloning and running Daml-ui-template but I’m constantly getting the following error:

```haskell
Proxy error: Could not proxy request /v1/exercise from localhost:3000 to http://localhost:7575.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

```

---

<div class="post-metadata">

**Author:** ![Shaul](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/shaul/32/117_2.png) [@Shaul](https://forum.canton.network/u/Shaul)\
**Post date:** [December 21, 2021, 5:11pm UTC](https://forum.canton.network/t/proxy-error-econnrefused-when-using-daml-ui-template/3615/2 "2021-12-21T17:11:13Z")

</div>

Okay, I found a workaround. In `ui/package.json`, change

```haskell
"proxy": "http://localhost:7575"

```

to

```haskell
"proxy": "http://127.0.0.1:7575"

```

or

```haskell
"proxy": "http://0.0.0.0:7575"

```

It seems others [have come across this](https://github.com/facebook/create-react-app/issues/2844) in `create-react-app`, which `Daml-ui-template` is based on. If the solution above doesn’t work for you, take a look at the other suggestions in the link above.
