# Cannot access to node red

**URL:** <https://discourse.nodered.org/t/cannot-access-to-node-red/88434>\
**Category:** General\
**Created:** [2 June 2024 08:16 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434 "2024-06-02T08:16:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 08:16 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/1 "2024-06-02T08:16:41Z")

</div>

I am doing well with my raspberry pi 3 and node red but suddenly i cannot access node red on my laptop. and i reboot and run again node red it shows this.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/4/84ceecc7ba92157ec3238a32d6ab28159bb7d9a0.png)

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [2 June 2024 08:25 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/2 "2024-06-02T08:25:56Z")

</div>

"in use" means in use...could already be running.

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 08:31 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/3 "2024-06-02T08:31:05Z")

</div>

but my IP address is something else , start with 172

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [2 June 2024 08:47 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/4 "2024-06-02T08:47:39Z")

</div>

yes, 127.0.0.1 is the loopback address of the localhost.  
You can try to access the 172.x.x.x:1880 address

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 08:51 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/5 "2024-06-02T08:51:41Z")

</div>

i tried but is shows this on rpi

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e981cbb3580ab18e4d4437e719869e7a2521a300.jpeg)

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [2 June 2024 09:00 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/6 "2024-06-02T09:00:13Z")

</div>

Because it is already running.  
You don't need to start it.

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 09:01 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/7 "2024-06-02T09:01:02Z")

</div>

but i could not access it on my laptop or rpi

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [2 June 2024 09:01 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/8 "2024-06-02T09:01:54Z")

</div>

Try a

`node-red-stop`

followed by

`node-red --safe`

then try to access the ui.

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 09:28 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/9 "2024-06-02T09:28:09Z")

</div>

i tried your solution, starting it does let me at least get into the website but after few minutes it stop responding and i retried the solution , it cant work anymore.

---

<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:** [2 June 2024 09:34 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/10 "2024-06-02T09:34:46Z")

</div>

Do you have your Pi setup so that it's accessible from the internet?

---

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [2 June 2024 11:31 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/11 "2024-06-02T11:31:58Z")

</div>

Use:

```bash
sudo systemctl stop nodered

```

Then use `node-red` in your terminal.

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 14:57 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/12 "2024-06-02T14:57:39Z")

</div>

yeah, i already used it for over a month, today suddenly stop functioning

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 14:58 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/13 "2024-06-02T14:58:57Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/ccad9f50684910744233e9f9bb4d8d0dac838360.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/3/a35f93b0560ef0cea474cfe16e34ad6326c8e58f.png)  
it just keep loading and it wont get into the website

---

<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:** [2 June 2024 15:22 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/14 "2024-06-02T15:22:18Z")

</div>

> [@Chow0605](#):
>
> yeah, i already used it for over a month

Is that in response to the question about whether you have opened your system to the internet? If you have then you have been hacked. Disconnect it from your network immediately.

---

<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:** [2 June 2024 15:30 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/15 "2024-06-02T15:30:58Z")

</div>

Some possible reasons for being unable to access the editor include:

1. The Pi now has a different IP address and you are not pointing your browser to the right machine.
2. There is an infinite loop somewhere in your flows or with an external application like MQTT which occupies all of Node-red's time.
3. There is a corrupt file somewhere in the Node-red installation.
4. You have been hacked and the processor is overwhelmed doing the bidding of it's new master.

Some suggested actions

1. Check by running `ifconfig` in a terminal window on the Pi. Clear your browser cache and try again.
2. If this were the cause, stopping and restarting in safe mode would allow you in, at least until you click Deploy.
3. Re-install Node-red using the installation script from NR Documentation.
4. If as you say, the Pi has been accessible from the internet (not just your LAN) I think a hack is the most likely cause of unexpected behaviour. If this is the case you should disable that access, reinstall the entire operating system and virus check every computer you have.

---

<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:** [2 June 2024 15:44 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/16 "2024-06-02T15:44:13Z")

</div>

I agree with @jbudd except that I don't think we have determined whether the failure happened when you did something. If it was working, then you modified the flow, and it stopped working when you deployed then the cause is probably #2. Start it in safe mode and undo whatever you did.

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 16:19 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/17 "2024-06-02T16:19:15Z")

</div>

i want to run it in safe mode but it keeps telling me that the port in use

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

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 16:20 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/18 "2024-06-02T16:20:49Z")

</div>

disable the access meaning?

---

<div class="post-metadata">

**Author:** ![Chow0605](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chow0605/32/91058_2.png) [@Chow0605](https://discourse.nodered.org/u/Chow0605)\
**Post date:** [2 June 2024 16:21 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/19 "2024-06-02T16:21:36Z")

</div>

opened my system to the internet means??? i mean i only connect my pi to the internet without sharing anything else.

---

<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:** [2 June 2024 16:31 UTC](https://discourse.nodered.org/t/cannot-access-to-node-red/88434/20 "2024-06-02T16:31:14Z")

</div>

when it says "Error: port in use", it means it is ALREADY RUNNING

#### Assuming you installed using the official PI script

1. stop the node-red service: `node-red-stop`
2. start it manually `node-red --safe`
3. fix your flows
4. deploy

If it runs OK, close the terminal and start the service `node-red-start`  
If it crashes, copy the log and show us.

[Next page](https://discourse.nodered.org/t/cannot-access-to-node-red/88434.md?page=2)
