# B&R PLC OPC-UA Connection

**URL:** <https://forum.inductiveautomation.com/t/b-r-plc-opc-ua-connection/18863>\
**Category:** Ignition\
**Created:** [July 17, 2018, 1:11pm UTC](https://forum.inductiveautomation.com/t/b-r-plc-opc-ua-connection/18863 "2018-07-17T13:11:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas.wolday](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@thomas.wolday](https://forum.inductiveautomation.com/u/thomas.wolday)\
**Post date:** [July 17, 2018, 1:11pm UTC](https://forum.inductiveautomation.com/t/b-r-plc-opc-ua-connection/18863/1 "2018-07-17T13:11:28Z")

</div>

we are trying to configure our B&R PLC to ignition using the OPC-UA. When we created the new server connection in ignition, it is trying to connect, but it the status is showing faulted.  
This is the error message it leaves:  
java.nio.channels.UnresolvedAddressException  
at sun.nio.ch.Net.checkAddress(Unknown Source)  
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)  
at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:209)  
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:207)  
at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1279)  
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)  
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)  
at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50)  
at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:453)  
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:439)  
at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:421)  
at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:1024)  
at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)  
at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:167)  
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)  
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)  
at java.lang.Thread.run(Unknown Source)

7.9.8 (b2018060714)  
Oracle Corporation 1.8.0\_172

---

<div class="post-metadata">

**Author:** ![gary.bizzotto](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@gary.bizzotto](https://forum.inductiveautomation.com/u/gary.bizzotto)\
**Post date:** [July 18, 2018, 3:51pm UTC](https://forum.inductiveautomation.com/t/b-r-plc-opc-ua-connection/18863/2 "2018-07-18T15:51:26Z")

</div>

Probably, there is something wrong in the configuration, we use many time this plc with ignition without any problem.  
Check the configuration of the opcUA on the PLC and next on Ignition

---

<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:** [July 18, 2018, 3:52pm UTC](https://forum.inductiveautomation.com/t/b-r-plc-opc-ua-connection/18863/3 "2018-07-18T15:52:48Z")

</div>

> java.nio.channels.UnresolvedAddressException

This is the issue. The PLC is returning a hostname in its endpoint that the server Ignition is running on can't resolve.

If you can't fix this in the PLC configuration you can use the "Host Override" advanced setting on the OPC UA connection in Ignition.

---

<div class="post-metadata">

**Author:** ![thomas.wolday](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@thomas.wolday](https://forum.inductiveautomation.com/u/thomas.wolday)\
**Post date:** [July 18, 2018, 7:00pm UTC](https://forum.inductiveautomation.com/t/b-r-plc-opc-ua-connection/18863/4 "2018-07-18T19:00:32Z")

</div>

Thanks the “Host Override” solved the issue. 😁
