# Start flow from outside nodered

**URL:** <https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790>\
**Category:** General\
**Created:** [16 September 2022 08:01 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790 "2022-09-16T08:01:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![FeliceM](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Post date:** [16 September 2022 08:01 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790/1 "2022-09-16T08:01:59Z")

</div>

Hi,  
I need some help.  
I have a flow in nodered that needs to start from outside the nodered environment but on the same device (Raspberry Pi).  
I am trying to use an HTTP-in-node set as GET and listening on [http://localhost:9000](http://localhost:9000)  
The port I am using is just a random one not used by other services.  
I am not sure if I have taken the right direction because I cannot receive anything on the HTTP-in and I am not even sure this is the right way.  
I would appreciate if someone can give me directions nohow to achieve this.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 September 2022 08:10 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790/2 "2022-09-16T08:10:23Z")

</div>

HTTP-In is what you need to trigger a message flow.

Is node-red running on port 9000? (what URL do you put in the browser to access node-red?)

---

<div class="post-metadata">

**Author:** ![FeliceM](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Post date:** [16 September 2022 08:18 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790/3 "2022-09-16T08:18:48Z")

</div>

Nodered is running on the standard 1880 port.  
In the browser I did try several ways. Beside the attempt on the wrong port 9000,  
I did also try from the browser [http://localhost:1880/api/managednode](http://localhost:1880/api/managednode) while listening from port 1880

But I am messing up!

This is my last attempt:

```auto
[{"id":"9ef431206eedf8b8","type":"http in","z":"c77ba1683e345234","name":"Input from KIosk","url":"http://localhost:1880/api/managednode","method":"get","upload":false,"swaggerDoc":"","x":700,"y":980,"wires":[["2de63526b04ab878","6018082c4315b254"]]},{"id":"6018082c4315b254","type":"debug","z":"c77ba1683e345234","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":930,"y":980,"wires":[]}]

```

and from the browser: [http://localhost:1880/api/managednode](http://localhost:1880/api/managednode)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 September 2022 08:26 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790/4 "2022-09-16T08:26:12Z")

</div>

How have you set the HTTP-In node? (screenshot pls)

Also, are you running node-red in docker (HA or other container)?

> [@FeliceM](#):
>
> This is my last attempt:

Ok, so you are not using it right.

1. ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/9/799a42ac280eaf684c0ce0b4015e640ed32ed5da.png) This should be `/api/xxx`
2. You MUST have a http response node connected.

See examples in the [cookbook](https://cookbook.nodered.org/#http-endpoints) and built right into node-red (`CTRL+I` -\> examples -\> node-red -\> network -\> http)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/9/79c606baa06103bbbff3312f33b00ecee1d6cfc7.png)

---

<div class="post-metadata">

**Author:** ![FeliceM](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Post date:** [16 September 2022 08:28 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790/5 "2022-09-16T08:28:53Z")

</div>

Thanks a million. It works perfectly now.  
😀

---

<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:** [30 September 2022 08:29 UTC](https://discourse.nodered.org/t/start-flow-from-outside-nodered/67790/6 "2022-09-30T08:29:45Z")

</div>

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