OPC-UA Server connection refused

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

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)

1 Like

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.

Thanks for the quick answer. That did the trick!

1 Like

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?

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