Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Regarding opcua under port forwarding conditions
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a question regarding OPC UA communication.
Using the router's port forwarding function, I established a route for OPC UA communication with a device gateway located on-site. When I executed MATLAB's opcua function by specifying the router's WAN side IP address and the port corresponding to the device gateway, I was able to successfully create a client.
The screen at this time is shown below.

I added a second device gateway on-site and set up an OPC UA communication route using the router's port forwarding function in the same way. When using UaExpert for communication, I was able to successfully obtain values. However, when I executed MATLAB's opcua function by specifying the router's WAN side IP address and the port corresponding to device gateway 2, the endpoint became the port of device gateway 1, as shown below. As a result, I am unable to obtain values from device gateway 2 using MATLAB.

Device Gateway 1 and Device Gateway 2 are using the same hostname because they share the same router IP address for their connections. When executing opcua, using either the hostname or IP address as an argument produced the same result.
If you could identify the cause of this issue, I would greatly appreciate your help.
Thank you in advance.
Note: This is a technical query about OPC UA communication setup, specifically dealing with port forwarding and endpoint issues when connecting multiple device gateways through MATLAB and UaExpert.
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!