I have an OPC UA Server in my local network to which I want to establish a connection via the OPC UA client node provided by node red. The node red client runs in the IBM Bluemix Cloud. I tried following configuration for the client node. Is my endpoint configuration right? Am I missing a configuration for my network?
Configuration:
Endpoint: opc.tcp://[ServerIP]:4840/UA/NameServer
I get an error when connecting:
OPC READ OPC UA connection error: connect ECONNREFUSED
So you are trying to configure Node-RED running on a Bluemix machine (on the internet) to connect to a private IP address on your network behind a NAT router.
This won't work unless you use your public IP address and probably set up something like port forwarding