Customer was in Process Simulate 16.1, trying to connect PLC, he can read the data of the PLC by UaExpert software, but failed by using Process Simulate in OPC UA connection.
- When Process Simulate(standalone) machine and OPC UA server are in same Sub Network, it is able to connect successfully, for example, they are in 192.168.1.x Sub Network:
Process Simulate machine IP address: 192.168.1.46
PLC IP: 192.168.1.40
- But when they are in different Sub Network, the connection will fail. For example:
Process Simulate IP address: 10.54.104.48 Default Gateway: 10.54.104.1
OPC UA server IP address: 172.18.9.48
Error message: Retrieving endpoints failed. check OPC UA server connectivity.
Checked from Process Simulate client machine, tested TCP port of OPC UA by using "telnet machine port#" command, it has no error, this indicates connecting OPC UA server works fine. (Firewall has been turned off).
- In order to test this connection issue in different Sub Network, customer have also set up 2 routers to test the issue, which can avoid the network firewall influencing factor, but the issue can be duplicated.
SolutionToday we support only anonymous connection in PS and in order to reduce the security risk we allow this connection only if PS and OPC UA server are executed in same domain/sub network.
Notes
Notes