cannot access node red ui url from different device

3,288 views
Skip to first unread message

Avishek Guha

unread,
Mar 25, 2017, 10:32:48 PM3/25/17
to Node-RED
Hi,
I have a raspberry pi running raspbian jessie with pixel. I use an ethernet cable to connect my Rpi to my laptop and ssh into it for all work. The Rpi and the laptop share the same wifi. I have used node red in this arrangement to deploy a simple ui using 'nodered dasboard'. When I open a browser on the laptop and got o "http://localhost.1880/ui/" I can see the ui perfectly fine. However, I cannot reach it using a different device (like a mobile phone or a different computer).

Any ideas what may be happening?

Thanks in advance.

Mark Setrem

unread,
Mar 26, 2017, 3:23:48 AM3/26/17
to Node-RED

"localhost" is a way of referring to the same computer as you are typing it. 
If you want to access the dashboard from a different computer you will need to replace that with the ip address of the RPi.

But it will depend on how your laptop is  sharing the network connection you may find that you can't access it.

The better way would to give the pi its own connection to your network, either by using use the internal wifi (if your Pi has it) or a wifi dongle or a wired network connection.
Then any device on the network would be able to access your dashboard at anytime.


Colin Law

unread,
Mar 26, 2017, 3:25:03 AM3/26/17
to node...@googlegroups.com
What url are you using to access the ui remotely? You may think that
you did not need to tell us as the answer is obvious but one man's
obvious is another man's WTF.

Colin
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> You received this message because you are subscribed to the Google Groups
> "Node-RED" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to node-red+u...@googlegroups.com.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/44247aba-32c3-451f-adec-8778ed19d8db%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Avi

unread,
Mar 26, 2017, 11:09:13 AM3/26/17
to Node-RED
Thanks a lot, Mark. Sorry, I did not use "localhost", in fact I was using ip-address of the RPI. But it was sharing the computer internet. Once I connected the Rpi to the internet separately, I can access the url.

Best,
Avi

Avi

unread,
Mar 26, 2017, 11:10:55 AM3/26/17
to Node-RED
Hi Colin, I am using http://[RPI-ipaddress]:1880/ui/#/0 
But Mark's solution worked. Thanks.
Reply all
Reply to author
Forward
0 new messages