Unable to connect to OPC UA server from outside the gateway

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.

Would love any pointers on this, thanks!
Patrick

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)

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.

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

1 Like

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! :100:

2 Likes

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

2 Likes