# OPC-UA Server connection refused

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 25, 2020, 7:16pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081 "2020-09-25T19:16:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunny](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sunny/32/13319_2.png) [@Sunny](https://forum.inductiveautomation.com/u/Sunny)\
**Post date:** [September 25, 2020, 7:16pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081/1 "2020-09-25T19:16:07Z")

</div>

I’m currently having issues when I try to connection the Ignition’s OPC-UA Server via its IP address.

If I use _opc.tcp://127.0.0.1:62541/discovery_ or _opc.tcp://localhost:62541/discovery_, it works no problem. The moment I try to connect from another server with its IP _opc.tcp://192.168.10.22:62541/discovery_, I get a connection refused error (UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.10.22:62541)

Using another Ignition for debugging purpose due to the better feedback dialog

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

**Some information that can help on the debug:**  
Running Ignition version 8.0.15 (b2020072213)  
OPC-UA Server Settings (did a restart of the gateway and computer after changes)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/3/03a534f047e93f9603edbf17ff1dc86958035b44.png)

---

<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:** [September 25, 2020, 7:18pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081/2 "2020-09-25T19:18:12Z")

</div>

Right now the server is configured to bind only to localhost.

Change the Bind Addresses setting to `localhost,192,168.10.22` or `0.0.0.0`.

Set the Endpoint Addresses to `<hostname>,<localhost>,192.168.10.22`.

Then restart Ignition.

---

<div class="post-metadata">

**Author:** ![Sunny](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sunny/32/13319_2.png) [@Sunny](https://forum.inductiveautomation.com/u/Sunny)\
**Post date:** [September 25, 2020, 7:21pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081/3 "2020-09-25T19:21:04Z")

</div>

Thanks for the quick answer. That did the trick!

---

<div class="post-metadata">

**Author:** ![CW091418](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@CW091418](https://forum.inductiveautomation.com/u/CW091418)\
**Post date:** [July 18, 2024, 7:50pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081/4 "2024-07-18T19:50:46Z")

</div>

Hey Kevin,

I am having this exact same issue. My OPC Connection is showing faulted. It will allow me to put in the 192.168.1.7:62541/discovery and save it. After that it just goes right back to faulted and I am unable to see my PLCs inside the designer or vision client. Any thoughts here?

---

<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, 2024, 10:03pm UTC](https://forum.inductiveautomation.com/t/opc-ua-server-connection-refused/39081/5 "2024-07-18T22:03:22Z")

</div>

You'll want to look at your Server Settings as well as your logs for any errors during startup: re binding to addresses.
