# ECONNREFUSED error with siemens s7 node

**URL:** <https://discourse.nodered.org/t/econnrefused-error-with-siemens-s7-node/49921>\
**Category:** General\
**Created:** [19 August 2021 14:16 UTC](https://discourse.nodered.org/t/econnrefused-error-with-siemens-s7-node/49921 "2021-08-19T14:16:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbyrd](https://avatars.discourse-cdn.com/v4/letter/z/13edae/32.png) [@zbyrd](https://discourse.nodered.org/u/zbyrd)\
**Post date:** [19 August 2021 14:16 UTC](https://discourse.nodered.org/t/econnrefused-error-with-siemens-s7-node/49921/1 "2021-08-19T14:16:38Z")

</div>

Trying to connect to a siemens PLC to pull sensor data into node red. I've done this successfully in the past but I'm now getting this error. I've double checked port and rack/slot info and they match working nodes we're using to connect to other PLCs. Does anyone have any experience with this error and what it might point to?

---

<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:** [20 August 2021 06:50 UTC](https://discourse.nodered.org/t/econnrefused-error-with-siemens-s7-node/49921/2 "2021-08-20T06:50:22Z")

</div>

As you havent stated the exact node or your PLC model - we can only guess.

#### _my guess..._

Did you follow the instructions in the [readme](https://flows.nodered.org/node/node-red-contrib-s7)...

> - "Optimized block access" must be disabled for the DBs we want to access ([image](http://snap7.sourceforge.net/snap7_client_file/db_1500.bmp))
> - In the "Protection" section of the CPU Properties, enable the "Permit access with PUT/GET" checkbox ([image](http://snap7.sourceforge.net/snap7_client_file/cpu_1500.bmp))

---

<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:** [19 October 2021 06:50 UTC](https://discourse.nodered.org/t/econnrefused-error-with-siemens-s7-node/49921/3 "2021-10-19T06:50:22Z")

</div>

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