# How to connect node red at distance?

**URL:** <https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537>\
**Category:** General\
**Created:** [17 August 2022 08:50 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537 "2022-08-17T08:50:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![azertym](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/azertym/32/52108_2.png) [@azertym](https://discourse.nodered.org/u/azertym)\
**Post date:** [17 August 2022 08:50 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/1 "2022-08-17T08:50:04Z")

</div>

Hi all,

I would like to know if it's possible to connect in node red at distance without local ip ?  
My pi is at 1000 km from me, and i would like to connect at node-red without VNC.  
The best method for me it's to type the ip direclty and i can go direclty in my pi node-red.  
Is it possible to make that ?

---

<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:** [17 August 2022 09:09 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/2 "2022-08-17T09:09:05Z")

</div>

Have you tried entering `http://Pi_IP: 1880` in your browser on the PC, where Pi\_IP is the ip of the pi.

If that doesn't work, Is the remote device on the same local network as the PC?

How do you currently connect using VNC?

---

<div class="post-metadata">

**Author:** ![azertym](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/azertym/32/52108_2.png) [@azertym](https://discourse.nodered.org/u/azertym)\
**Post date:** [17 August 2022 09:17 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/3 "2022-08-17T09:17:09Z")

</div>

To connect by VNC i use vnc connect with an account. I put my account on my pi and on my computer. Like so i can connect by distance to my pi with VNC (but i don't have the vidéo playing, this in an other problem).

My pi is connect on local network at Montpellier in 192.168.1.15 and i need to see the dashboard and flow at distance to make update without connect with any desk, and go to the computer on local network and go to the ip of my ip.

i would like to go directly on the flow and dashboard.

---

<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:** [17 August 2022 09:26 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/4 "2022-08-17T09:26:19Z")

</div>

> [@azertym](#):
>
> To connect by VNC i use vnc connect with an account. I put my account on my pi and on my computer.

Do you mean you are using a Cloud based VNC setup of some sort, or are you connecting directly to the pi? If you connect directly to the pi then you should also be able to connect in the browser using the ip address of the pi.

Or do you mean you need to connect to the pi across the internet? If so then there are many, many posts in the forum providing options on doing that.

---

<div class="post-metadata">

**Author:** ![azertym](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/azertym/32/52108_2.png) [@azertym](https://discourse.nodered.org/u/azertym)\
**Post date:** [17 August 2022 09:33 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/5 "2022-08-17T09:33:20Z")

</div>

Yes it is, i use Vnc cloud, like that i can see my desktop by distance. But i don't want use VNC because i can show my handling.

So, VNC work well with VNC cloud. But when i put my ip is not work. So i found process to make this with dyndns or something else, but i've big problem. I can't go to the modem/router to make this because no boddy have the password to connect and the box .... ☹ ..

You think dyndns is the solution to make this ?

---

<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:** [17 August 2022 09:35 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/6 "2022-08-17T09:35:16Z")

</div>

Search the forum, there are many possible solutions.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [17 August 2022 11:02 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/7 "2022-08-17T11:02:59Z")

</div>

Take a look at Zerotier.

You set up a virtual network at [zerotier.com](http://zerotier.com) and install the client on PC and Pi.  
Each device will connect to the virtual network and acquire an IP in a secure private network.

For example, my Raspberry Pi is 192.168.1.11 on my home network so I get to Node-red at 192.168.1.11:1880.  
But if I am away from home I use the Zerotier provided interface 192.168.192.11:1880.

Sorry, not very well explained!

Tailscale is another service similar to Zerotier.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 August 2022 12:05 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/8 "2022-08-17T12:05:37Z")

</div>

ZeroTier, Cloudflare ZeroTrust, NGROK, ... these all provide remote network-level access without needing to mess with your local edge router/firewall.

A dedicated device to site, site to site or device to device VPN is another alternative.

A third option is to add web security to the node-red access. Such as the examples I've given elsewhere using NGINX as a reverse proxy.

Personally I would not recommend a VNC solution which provides a "remote desktop client", especially if running on a single Pi since having to run a desktop itself is slow and pushing over an rdc makes it even worse typically. In addition there are lots of known vulnerabilities in rdc type tools.

---

<div class="post-metadata">

**Author:** ![azertym](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/azertym/32/52108_2.png) [@azertym](https://discourse.nodered.org/u/azertym)\
**Post date:** [19 August 2022 23:32 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/9 "2022-08-19T23:32:02Z")

</div>

Thanks a lot Jbudd, it's exactly what i need !

---

<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:** [2 September 2022 23:32 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-at-distance/66537/10 "2022-09-02T23:32:15Z")

</div>

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