# Pi GPIO node econnrefused

**URL:** <https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584>\
**Category:** General\
**Created:** [24 March 2020 19:54 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584 "2020-03-24T19:54:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfpedno](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jfpedno](https://discourse.nodered.org/u/jfpedno)\
**Post date:** [24 March 2020 19:54 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/1 "2020-03-24T19:54:48Z")

</div>

node red on 127.17.0.1:1880 because it is setup with into container.  
did the sudo pi gpiod into terminal  
set the port at 1880 into the gpiod output node  
I tried the default port at 8888 not better  
First time I hit the inject button I get the error  
when I hit again no error anymore but nothing happens on the pin which is a simple led plugged in  
I'm stuck.  
If someone has someting for me please thank you!  
did the command  
netstat -an | grep LISTEN | grep -v LISTENING  
tcp6 0 0 :::1883 :::\* LISTEN  
tcp6 0 0 :::9000 :::\* LISTEN  
tcp6 0 0 :::9001 :::\* LISTEN  
tcp6 0 0 :::2003 :::\* LISTEN  
tcp6 0 0 :::8083 :::\* LISTEN  
tcp6 0 0 :::53 :::\* LISTEN  
tcp6 0 0 :::8086 :::\* LISTEN  
tcp6 0 0 :::8888 :::\* LISTEN  
tcp6 0 0 :::1880 :::\* LISTEN  
tcp6 0 0 :::3000 :::\* LISTEN  
tcp6 0 0 :::8089 :::\* LISTE

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 March 2020 19:59 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/2 "2020-03-24T19:59:34Z")

</div>

When you started your container did you allow port 8888 to be mapped from inside to outside ?

---

<div class="post-metadata">

**Author:** ![jfpedno](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jfpedno](https://discourse.nodered.org/u/jfpedno)\
**Post date:** [24 March 2020 20:19 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/3 "2020-03-24T20:19:03Z")

</div>

Hi Jay,  
This is a good question.  
I did the install via Graham Garner IoTstack github setup.  
I should know but I don't sorry.  
That is what happens when you build on something you did not build yourself...  
Would you know how to verify that ?

---

<div class="post-metadata">

**Author:** ![jfpedno](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jfpedno](https://discourse.nodered.org/u/jfpedno)\
**Post date:** [24 March 2020 20:21 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/4 "2020-03-24T20:21:16Z")

</div>

I also did the  
npm install node-red-node-pi-gpiod  
command

---

<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:** [24 March 2020 20:42 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/6 "2020-03-24T20:42:50Z")

</div>

Are you using a container for a reason? If not then I suggest you instead use the install script from the node-red docs  
[https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![jfpedno](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jfpedno](https://discourse.nodered.org/u/jfpedno)\
**Post date:** [24 March 2020 20:49 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/7 "2020-03-24T20:49:37Z")

</div>

Ok I changed to my raspbian regular setup and it worked. sorry about that. It must be a container knowledge issue.  
Thank you!

---

<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:** [24 March 2020 21:04 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/8 "2020-03-24T21:04:20Z")

</div>

One of the reasons for using a container is that it is to some extent isolated from the rest of the system, which can be a good thing, sometimes it just gets in the way however.

---

<div class="post-metadata">

**Author:** ![jfpedno](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jfpedno](https://discourse.nodered.org/u/jfpedno)\
**Post date:** [25 March 2020 00:41 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/9 "2020-03-25T00:41:15Z")

</div>

Yes indeed.  
Thank you.

---

<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:** [24 May 2020 00:52 UTC](https://discourse.nodered.org/t/pi-gpio-node-econnrefused/23584/10 "2020-05-24T00:52:12Z")

</div>

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