# Unable to connect to OPC UA server from outside the gateway

**URL:** <https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 1, 2025, 10:14pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561 "2025-04-01T22:14:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.inductiveautomation.com/u/patrick)\
**Post date:** [April 1, 2025, 10:14pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561/1 "2025-04-01T22:14:47Z")

</div>

Hi there,

I'm using Ignition Edge Panel 8.1.21 and I'm unable to connect to the OPC UA sever from a machine other than the gateway itself. (localhost connections, including the built-in "loopback" connection from the gateway, work fine)

I've updated the server settings to use 0.0.0.0 as the bind address and added 192.168.1.36 (the gateway's IP) as an endpoint address, and restarted the OPC UA module (and even tried restarting the entire gateway) but am having no luck with either `opc.tcp://192.168.1.36:62541` or `opc.tcp://192.168.1.36:62541/discovery`. I've attached a screenshot of my settings below.

 ![Screenshot 2025-04-01 at 3.09.09 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/d/3d7633a7582d8c7fd80853cf4cbb9e900fc084dd.png)

Would love any pointers on this, thanks!  
Patrick

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [April 1, 2025, 10:16pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561/2 "2025-04-01T22:16:10Z")

</div>

Can you access other endpoints on the same IP from other machines?

If you're on windows, have you opened up firewall access to that port?

(more broadly, my assumption is that the issue isn't Ignition config, but networking settings)

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.inductiveautomation.com/u/patrick)\
**Post date:** [April 1, 2025, 10:17pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561/3 "2025-04-01T22:17:28Z")

</div>

Yes, the device is an Opto22 groov Epic (so linux, not windows), and it's running another OPC UA server on a different port, which I have no trouble accessing.

You raise a good point that perhaps it's blocked other ports – I'll check.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [April 1, 2025, 10:18pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561/4 "2025-04-01T22:18:54Z")

</div>

NMAP to it from another box, to see if 62541 is even open?

I've done some debugging of linux firewall confs before, but never on Opto's specific box/distro

iptables -nL | grep 62541 for starters

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.inductiveautomation.com/u/patrick)\
**Post date:** [April 1, 2025, 10:25pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561/5 "2025-04-01T22:25:09Z")

</div>

Yep, that was it. The Opto22 device has its own firewall that I just needed to add a rule for.

Thanks for the speedy response! 💯

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [April 1, 2025, 11:04pm UTC](https://forum.inductiveautomation.com/t/unable-to-connect-to-opc-ua-server-from-outside-the-gateway/104561/6 "2025-04-01T23:04:03Z")

</div>

Glad to help!  
(I have too many war stories about fighting with NFTables/IPTables/firewalld to not instinctively assume it's the issue, lol.)
