# OPC UA connection Faulted - NodeRed like Server

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791>\
**Category:** Ignition\
**Created:** [March 3, 2022, 4:13pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791 "2022-03-03T16:13:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiguti](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jiguti](https://forum.inductiveautomation.com/u/jiguti)\
**Post date:** [March 3, 2022, 4:13pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791/1 "2022-03-03T16:13:42Z")

</div>

Hello I have an OPC-UA server in NODE RED in docker container in the same machine that Ignition.

I’m trying to connect with Ignition to that server, but I can’t.

**Configuring Node:**

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/d/ed82e58af8fe2295de8c7abff7b2e16096e320df.png)

**Ignition Confg:**

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d939acbac8a4f2fe91d7e268c36059716162d472.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/5/25726b9db82d1af5a31dcca0e32f952afc52693b.png)

**LOG faulted:**

UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:53880  
at org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions.lambda$connect$0(ClientChannelFsm.java:130)  
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:577)  
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:570)  
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:549)  
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:490)  
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:615)  
at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:608)  
at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)  
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)  
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)  
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)  
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:53880  
Caused by: java.net.ConnectException: Connection refused: no further information  
at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)  
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)  
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330)  
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)  
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)  
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)  
at java.base/java.lang.Thread.run(Unknown Source)

8.1.2 (b2021020311)  
Azul Systems, Inc. 11.0.9

Can anyone help me?

Thanks so much  
Jose I.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 3, 2022, 4:24pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791/2 "2022-03-03T16:24:52Z")

</div>

“Connection Refused”. That is not an Ignition problem, but a network problem. Recheck your docker configuration–port 53880 simply isn’t open for Ignition to talk to.

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [March 3, 2022, 5:30pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791/3 "2022-03-03T17:30:09Z")

</div>

**EDIT: As @Kevin.Herron rightly pointed out, the advice below only applies if you’re going the _other_ way, making a connection to Ignition’s OPC-UA server. Sorry for the confusion!!**

Keep in mind that you’ll need to do a few things to make this work successfully:

- Update the _Bind Addresses_ for the OPC-UA Server in Ignition, should probably be `0.0.0.0` to listen on all interfaces.
- Update the _Endpoint Addresses_ with an address definition that is reachable by the remote host. You might not need to adjust this if you’re in the same Docker network and are hitting the machine by hostname via Docker’s DNS helpers.

NOTE: you will probably need to restart the gateway after making changes to the OPC-UA configuration (a restart of the OPC-UA module should be sufficient for some of the other settings other than the bind address).

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [March 3, 2022, 5:31pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791/4 "2022-03-03T17:31:09Z")

</div>

Additionally, if you’re running under Docker, there are a lot of variables that will come into play regarding network interconnects. Consider sharing your Docker run configurations and/or Compose YAML so we can have the context needed to provide additional assistance.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 3, 2022, 5:31pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791/5 "2022-03-03T17:31:33Z")

</div>

One of us misread this. It sounded to me like he’s got NodeRed running in Docker and is making an OPC UA client connection to it (from the host). None of your advice about the Ignition OPC UA server settings applies in this case.

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [March 3, 2022, 5:32pm UTC](https://forum.inductiveautomation.com/t/opc-ua-connection-faulted-nodered-like-server/56791/6 "2022-03-03T17:32:37Z")

</div>

I misread it. ☹ I’ll see myself out… 👋

However, Docker run configurations might still help here… if you’re also running Ignition in a container, “localhost” will not scope to your host machine.
