# UI do not open for localhost:6865

**URL:** <https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710>\
**Category:** App Development\
**Created:** [November 27, 2022, 6:30pm UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710 "2022-11-27T18:30:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanika\_kapoor](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/kanika_kapoor/32/5323_2.png) [@kanika\_kapoor](https://forum.canton.network/u/kanika_kapoor)\
**Post date:** [November 27, 2022, 6:30pm UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710/1 "2022-11-27T18:30:46Z")

</div>

On requesting link- localhost:6865 url on the browser, following error comes:

# This page isn’t working

**localhost** sent an invalid response.

ERR\_INVALID\_HTTP\_RESPONSE

Why no content is getting displayed, daml start executed successfully.. but still..  
Plz help.

---

<div class="post-metadata">

**Author:** ![Mate\_Varga](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mate_varga/32/2308_2.png) [@Mate\_Varga](https://forum.canton.network/u/Mate_Varga)\
**Post date:** [November 28, 2022, 3:23am UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710/2 "2022-11-28T03:23:09Z")

</div>

Hi @kanika_kapoor,

Usually 6865 is the default port for the gRPC (HTTP/2, Ledger API) endpoints exposed by a Daml sandbox. If you have a specific ui, that is usually served by running npm start in the ui directory, or if you expect to see the navigator, that defaults to port 4000. Both print what port they are listening on to the command line.

Kind Regards,  
Mate

---

<div class="post-metadata">

**Author:** ![Gary\_Verhaegen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gary_verhaegen/32/81_2.png) [@Gary\_Verhaegen](https://forum.canton.network/u/Gary_Verhaegen)\
**Post date:** [November 28, 2022, 5:30pm UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710/3 "2022-11-28T17:30:44Z")

</div>

Hi @kanika_kapoor,

Can you elaborate a bit more on how you ended up there? As @Mate_Varga mentioned, we do not have any tutorial (that I know of) that would suggest opening a browser on `localhost:6865`. Perhaps if you gave us a bit more context on what it is you are trying to achieve we’ll be able to help you a bit more?

---

<div class="post-metadata">

**Author:** ![kanika\_kapoor](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/kanika_kapoor/32/5323_2.png) [@kanika\_kapoor](https://forum.canton.network/u/kanika_kapoor)\
**Post date:** [November 29, 2022, 9:05am UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710/4 "2022-11-29T09:05:58Z")

</div>

Once we are in the right directory i.e. cd \<project\_name\>, we execute daml start

daml start command executione log says:  
[http://localhost:6865](http://localhost:6865) is up  
[http://localhost:7575/readyz](http://localhost:7575/readyz) is up

7575 is for Json Api server and it responds correctly on url hit, not sure what exactly gets up and running on port 6865. To know more details when I make a request to localhost://6865, it fails.

Can you provide more details what exactly it is and why we don’t get response from the url.

---

<div class="post-metadata">

**Author:** ![Gary\_Verhaegen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gary_verhaegen/32/81_2.png) [@Gary\_Verhaegen](https://forum.canton.network/u/Gary_Verhaegen)\
**Post date:** [November 29, 2022, 10:42am UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710/5 "2022-11-29T10:42:16Z")

</div>

This may depend on the configuration of your project, but, generally speaking, we tend to start the Daml Ledger gRPC API on 6865.

That means that, while it is an open network port, it _does not speak HTTP_ and therefore won’t be able to establish a conversation with a web browser.

Note that the logs do _not_ say that `http://localhost:6865` is up; they say that the (gRPC) server is listening on `localhost:6865`: not HTTP involved.

Does that answer your question?

---

<div class="post-metadata">

**Author:** ![kanika\_kapoor](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/kanika_kapoor/32/5323_2.png) [@kanika\_kapoor](https://forum.canton.network/u/kanika_kapoor)\
**Post date:** [November 30, 2022, 12:49am UTC](https://forum.canton.network/t/ui-do-not-open-for-localhost-6865/5710/6 "2022-11-30T00:49:05Z")

</div>

Yes, thanks
