# 3rd party connection to remote Ignition OPC UA Server

**URL:** <https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [September 5, 2024, 1:12pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589 "2024-09-05T13:12:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![electricschmidt](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@electricschmidt](https://forum.inductiveautomation.com/u/electricschmidt)\
**Post date:** [September 5, 2024, 1:12pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/1 "2024-09-05T13:12:24Z")

</div>

I know this topic seems to get raised every couple of months but as far as I can tell I've followed the steps discussed in other posts to no avail. I've got a gateway running the opc ua server running on a remote machine (ip: 192.168.95.42) and I'm trying to connect to it currently using UaExpert (with the eventual intention of connecting using some C# I've written) and the /discovery endpoint. My server settings currently look like this:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/4/f493b18a08548c2c791ae0e8bc69797f356aafb0.png)  
I've restarted the gateway since applying them.

In UaExpert I'm attempting discovery at `opc.tcp://192.168.95.42:62541/discovery` and it is just failing. Interestingly trying to use that address for the gateway's own OPC connection also fails but works fine at `opc.tcp://localhost:62541/discovery`. I've turned off the firewalls on both ends for the time being also.

Is there anything else I'm just completely missing to make this work correctly?

---

<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 5, 2024, 1:24pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/2 "2024-09-05T13:24:36Z")

</div>

Are you sure `192.168.95.42` is an IP address assigned to a network adapter on this machine? Are there multiple NICs?

Can you zip and upload your wrapper.log file(s)?

---

<div class="post-metadata">

**Author:** ![electricschmidt](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@electricschmidt](https://forum.inductiveautomation.com/u/electricschmidt)\
**Post date:** [September 5, 2024, 1:37pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/3 "2024-09-05T13:37:28Z")

</div>

Yes I think so? I'm not so great with network related questions if I'm honest but that's the only IP address that's listed when I run `ipconfig` in a command prompt window. Here's my zipped wrapper.log file:  
[wrapper.zip](https://forum.inductiveautomation.com/uploads/short-url/nmhxQlwNFpelfRMs7Mc6oHBkTZK.zip) (106.0 KB)

---

<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 5, 2024, 1:47pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/4 "2024-09-05T13:47:35Z")

</div>

Can you zip _all_ the logs? Hoping to see back to the last gateway startup.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [September 5, 2024, 1:50pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/5 "2024-09-05T13:50:11Z")

</div>

Also make sure there's no 3rd party firewalls enabled. Another way to check what IPs are available to Ignition is to look at the Status-\>Overview page under the Environment section. There should be an entry named "Detected NICs" with a list of all your IP addresses that Ignition sees.

---

<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:** [September 5, 2024, 1:52pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/6 "2024-09-05T13:52:24Z")

</div>

From the machine where UaExpert is installed, can you open the gateway web page at 192.168.95.42 ? If not, a network path between the machines may not exist.

---

<div class="post-metadata">

**Author:** ![electricschmidt](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@electricschmidt](https://forum.inductiveautomation.com/u/electricschmidt)\
**Post date:** [September 5, 2024, 1:52pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/7 "2024-09-05T13:52:55Z")

</div>

Oh, sorry, I grabbed the wrong file, here are all the logs.  
[wrapper.zip](https://forum.inductiveautomation.com/uploads/short-url/qLKYRgPgOEePzBxzsaZeQWwjAD5.zip) (488.9 KB)

---

<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 5, 2024, 1:55pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/8 "2024-09-05T13:55:17Z")

</div>

These logs don't suggest a gateway restart since you last set the Bind Address to 0.0.0.0:

```python
[17:25:49.407]: Binding endpoint opc.tcp://IncorezServer:62541 to localhost:62541 [Basic256Sha256/SignAndEncrypt] module-name=OPC-UA
[17:25:49.440]: Binding endpoint opc.tcp://IncorezServer:62541/discovery to localhost:62541 [None/None] module-name=OPC-UA
[17:25:49.440]: Binding endpoint opc.tcp://localhost:62541 to localhost:62541 [Basic256Sha256/SignAndEncrypt] module-name=OPC-UA
[17:25:49.441]: Binding endpoint opc.tcp://localhost:62541/discovery to localhost:62541 [None/None] module-name=OPC-UA
[17:25:49.441]: Binding endpoint opc.tcp://127.0.0.1:62541 to localhost:62541 [Basic256Sha256/SignAndEncrypt] module-name=OPC-UA
[17:25:49.442]: Binding endpoint opc.tcp://127.0.0.1:62541/discovery to localhost:62541 [None/None] module-name=OPC-UA

```

But these are weeks old. You again only zipped one file instead of all the files, so maybe this is just the oldest.

---

<div class="post-metadata">

**Author:** ![electricschmidt](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@electricschmidt](https://forum.inductiveautomation.com/u/electricschmidt)\
**Post date:** [September 5, 2024, 1:55pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/9 "2024-09-05T13:55:53Z")

</div>

Yes, I can.

Also @michael.flagler, it seems to be in the "Detected NICs".

---

<div class="post-metadata">

**Author:** ![electricschmidt](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@electricschmidt](https://forum.inductiveautomation.com/u/electricschmidt)\
**Post date:** [September 5, 2024, 1:58pm UTC](https://forum.inductiveautomation.com/t/3rd-party-connection-to-remote-ignition-opc-ua-server/95589/10 "2024-09-05T13:58:14Z")

</div>

Oh lord, I've just realised I've been restarting the wrong gateway 🙃

...And now it's working as intended, thanks again folks, thankfully it's nearly friday.
