Cannot access node red from smartphone

Hello everyone
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
any solutions?

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

Can you do a trace route from your pc to say www.google.com? This should show you all the devices you pass through to get to www.google.com. For example...

> tracert www.google.com

Tracing route to www.google.com [172.217.11.68]
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  142.254.186.13
  4    30 ms    21 ms    31 ms  agg60.pldscabx02h.socal.rr.com [76.167.16.29]
  5    11 ms    10 ms    11 ms  agg15.pldscabx02r.socal.rr.com [72.129.38.16]
  6    16 ms    14 ms    15 ms  72.129.37.2
  7    20 ms    15 ms    15 ms  bu-ether16.tustca4200w-bcr00.tbone.rr.com [66.109.6.64]
  8    14 ms    15 ms    17 ms  72.14.221.228
  9    13 ms    15 ms    13 ms  142.250.227.139
 10    13 ms    16 ms    15 ms  209.85.254.87
 11    14 ms    14 ms    16 ms  lax17s34-in-f4.1e100.net [172.217.11.68]

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.

tracert www.google.com

Détermination de l’itinéraire vers www.google.com [172.217.18.228]
avec un maximum de 30 sauts :

1 158 ms 364 ms 237 ms 192.168.1.1
2 2365 ms * 2684 ms 41.226.16.230
3 * * 1232 ms 172.25.0.2
4 2386 ms 2672 ms 2243 ms 193.95.96.100
5 1756 ms 2723 ms 2533 ms 193.95.0.14
6 3160 ms 2995 ms 2910 ms 193.95.1.191
7 3386 ms 3253 ms * 72.14.194.136
8 1225 ms 1654 ms * 108.170.252.241
9 2263 ms 2485 ms * 72.14.232.49
10 2222 ms 3185 ms * mrs08s02-in-f4.1e100net [172.217.18.228]
11 2672 ms 3487 ms 2587 ms mrs08s02-in-f4.1e100net [172.217.18.228]

Itinéraire déterminé.

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
Etc.

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?

@E1cid
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