I am new user of node-red
indeed, I install the interface on PC and I tried to have access to this iterface using my mobile phone.
I declared the address of the PC on the browser of the smartphone followed by the port: 1880
but I have no access
Is the phone on mobile network or local wifi?
yes in the some network and i put the ip:1880/ui
No, what network is the phone on? You will not be able to connect via mobile network unless you use your WAN IP address and forward port 1880 to the pc LAN IP. You will also need to secure your node-red https://nodered.org/docs/user-guide/runtime/securing-node-red
my laptop and phone are connected to some router via wifi
even i tried to connect from another pc into that ip didint get a response
Sounds like your PCs and phone aren't on the same local network.
I just pulled up node-red editor and dashboard on my phone. Just typed in the URL and bingo. I know for a fact that my phone and node red server are on the same home network, same LAN segment.
Is there a firewall active on your main PC that’s blocking all incoming connections on port 1880? Also can you verify that the address you’re connecting to is not
127.0.0.1, as this is an address that refers to the local device: on a phone it would point to that very same phone rather than the pc.
how to verify firewall are blocking connections on port 1880?
depends on the operating system you have in your pc, I suggest do a google search when you know this
> tracert www.google.com Tracing route to www.google.com [184.108.40.206] over a maximum of 30 hops: 1 <1 ms 1 ms <1 ms Green [redacted] [192.168.1.91] 2 6 ms <1 ms <1 ms router.localdomain [192.168.0.251] 3 9 ms 9 ms 9 ms 220.127.116.11 4 30 ms 21 ms 31 ms agg60.pldscabx02h.socal.rr.com [18.104.22.168] 5 11 ms 10 ms 11 ms agg15.pldscabx02r.socal.rr.com [22.214.171.124] 6 16 ms 14 ms 15 ms 126.96.36.199 7 20 ms 15 ms 15 ms bu-ether16.tustca4200w-bcr00.tbone.rr.com [188.8.131.52] 8 14 ms 15 ms 17 ms 184.108.40.206 9 13 ms 15 ms 13 ms 220.127.116.11 10 13 ms 16 ms 15 ms 18.104.22.168 11 14 ms 14 ms 16 ms lax17s34-in-f4.1e100.net [22.214.171.124] Trace complete.
In the example above, Green is the alias for the given firewall, the PC did the trace from happens to be near the Green firewall. You may have more or less hops, but if you transverse through a firewall, it should how up somehow in the trace. In a typical home setup, you just jump to your internet router, then out to your ISP network.
As far as port blocking or not, that would required access to the firewall configuration. I can tell you this, 99% of the firewalls use a less is more, exception rule basic configuration. This means of course, only the needed ports are open, only open in the direction they need, only to source or destination needed, and everything else is blocked by default.
Détermination de l’itinéraire vers www.google.com [126.96.36.199]
avec un maximum de 30 sauts :
1 158 ms 364 ms 237 ms 192.168.1.1
2 2365 ms * 2684 ms 188.8.131.52
3 * * 1232 ms 172.25.0.2
4 2386 ms 2672 ms 2243 ms 184.108.40.206
5 1756 ms 2723 ms 2533 ms 220.127.116.11
6 3160 ms 2995 ms 2910 ms 18.104.22.168
7 3386 ms 3253 ms * 22.214.171.124
8 1225 ms 1654 ms * 126.96.36.199
9 2263 ms 2485 ms * 188.8.131.52
10 2222 ms 3185 ms * mrs08s02-in-f4.1e100net [184.108.40.206]
11 2672 ms 3487 ms 2587 ms mrs08s02-in-f4.1e100net [220.127.116.11]
Looks like to me, you jump to your router, and then out to the world. Your internet router, usually has a basic firewall. However, if you talking to a device on your local network (192.168.1.*). You should not have anything blocking per se.
Now the question is, does the PC or phone have a specific firewall app in place, I would doubt it is an issue, because accessing HTTP on local network is typically not blocked.
Now try a tracert from your PC to your node-red device?
Try a tracert from you PC to phone?
Try a tracert from you node-red to PC
Your phone may not allow a response to the tracert query. But you might be able to find a phone app that can tracert from your phone to the node-red and/or PC.
The goal here is to figure out as much as possible, if everything can see everything else on your local network.
Has the router been set to block connections to lan, I know on my router i can block the guest network from access Lan they only get internet access.
Also try an app like wifi analyzer from your phone, with it you can see devices on your lan.
Exactly what address are you putting in the browser to do that?
how to do that?
Right, if the only router is the internet router. But if there is any other switch or bridge or access point on the local network, the internet router should not be blocking by default. This is based on the idea he has only one local network.
if it's on the same network, you wouldn't likely run into a firewall on router level... There's things as easy as windows firewall or a virus scanner that might be blocking incoming calls to an application running on the local machine.
Do we know of other ap or switches? i was offering possible other causes.
check your router settings.
download app to phone and check local lan to see if the app can see the node-red server