I am attempting to configure the OPC UA server in the Ignition Gateway, when I attempt to configure the Config > OPC > OPC Connections and specify the Endpoint URL as "opc.tcp://192.168.8.188:62541/discovery" instead of "opc.tcp://localhost:62541/discovery" I receive the following error when I click next: "UaException: status=Bad_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.8.188:62541"
Is there something else I need to configure to apply this change?
I have a similar system that has the IP address as part of the endpoint url.
Secondly, is it possible to have the discovery server specified as just opc.tcp://192.168.8.188:62541 or is the /discovery required?
In the default configuration the /discovery
suffix is required.
Ignition's OPC UA server runs two separate endpoints, one for discovery, and one for sessions. The discovery endpoint is always unsecured. The session endpoint is secured (and does not allow unsecured connections) by default. A client trying to discover endpoints pointing at the session endpoint will likely fail because it will attempt to connect without security.
If you allow unsecured connections to the server by changing the security policies setting then you would be able to point at either endpoint URL.
There's no reason to change any of these settings, including the bind address, unless you're trying to allow external OPC UA clients to connect.
Thank you for the information. This was very helpful