# How to set and open flow in seperate urls?

**URL:** <https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105>\
**Category:** General\
**Created:** [14 July 2022 17:39 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105 "2022-07-14T17:39:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mynodered](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Post date:** [14 July 2022 17:39 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/1 "2022-07-14T17:39:48Z")

</div>

How can we set each flow or whole application in specific page url? Like I have two flows, flow1 and flow2 and when i click deploy the flow2 always gets opened like [http://localhost:1880/#flow/2462c2061703aa93](http://localhost:1880/#flow/2462c2061703aa93). So,

1. How can i open flow1 and flow2 in two different urls while they are both open?
2. How can we setup url names for the url for each flow like,  
[http://localhost:1880/webpage\_flow1](http://localhost:1880/webpage_flow1)  
[http://localhost:1880/webpage\_flow2](http://localhost:1880/webpage_flow2)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 July 2022 20:39 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/2 "2022-07-14T20:39:40Z")

</div>

> [@mynodered](#):
>
> when i click deploy the flow2 always gets opened

Welcome to the forum @mynodered

Do you mean that clicking deploy when you are looking at one flow tab in the browser changes the view to a different tab? It shouldn't do that. Clicking Deploy should not change the tab you are looking at. If that is what happens then what version of node-red are you using and what browser?

---

<div class="post-metadata">

**Author:** ![mynodered](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Post date:** [14 July 2022 21:59 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/3 "2022-07-14T21:59:49Z")

</div>

when i am viewing one flow(called webpage) and click on the start/stop(deploy) it shows the dashboard(i think this is what is called) of another flow(called randomnumbergraph).  
For example, below is simple html page display which used to display hello world in a url [http://localhost:1880/ui](http://localhost:1880/ui) but it is showing another flow in the url.

![a](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/9/b9907d305699f4f857106f86e6a219a5870b0cbd.gif)

And below is example of using another flow(randomnumbergraph) which is ok.  
 ![b](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/e/de866aa982b8b6b2dfbf7ac4047ba2dcd12d05e5.gif)

I thought the webage flow would show the html page and the randomnumbergraph flow would show up in another url.

I upgraded to node red v3 today.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [14 July 2022 22:23 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/4 "2022-07-14T22:23:52Z")

</div>

> [@mynodered](#):
>
> For example, below is simple html page display which used to display hello world in a url [http://localhost:1880/ui](http://localhost:1880/ui) but it is showing another flow in the url.

The screenshot shows us your flow is listening on the path `/webpage` not `/ui`.

`/ui` is the default path used to serve the dashboard provided by the node-red-dashboard set of nodes.

---

<div class="post-metadata">

**Author:** ![mynodered](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Post date:** [15 July 2022 11:42 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/5 "2022-07-15T11:42:02Z")

</div>

yes, localhost:1880/webpage shows the correct page for webpage flow. i thought when the dashboard is clicked while i am viewing the webpage flow, it would open the localhost:1880/webpage.  
Is it possible to open a flow like randomnumbergraph in my case in a predefined url like, localhost:1880/webpage should show the randomnumbergraph flow?

I am new to node red and it looks like it has bright future.

thank you

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [15 July 2022 12:36 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/6 "2022-07-15T12:36:43Z")

</div>

> [@mynodered](#):
>
> i thought when the dashboard is clicked while i am viewing the webpage flow, it would open the localhost:1880/webpage.

No. The dashboard sidebar is provided by the `node-red-dashboard` set of nodes. The button you are click on opens up its dashboard.

If you want to open the editor showing a specific flow, then you have to use the url of that flow - with the appropriate `#flow/xyz` on the end of the url. There is no way to tell the editor to show a particular flow by its name.

---

<div class="post-metadata">

**Author:** ![mynodered](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Post date:** [15 July 2022 17:47 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/7 "2022-07-15T17:47:51Z")

</div>

I understand. If I may on insisting, is it not possible to display the gauges(or dashboard elements) on the webpage(localhost:1880/webage) created by the html node?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 September 2022 17:48 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105/8 "2022-09-13T17:48:12Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
