Run OPC UA Server on Azure VM

SalimMuvak 11 Reputation points
2020-08-10T08:34:24.57+00:00

Hi,
I'm working on a university project, which connect 2 devices via OPC UA protocol.
In order to execute the project, I tried to config those 2 devices as OPC UA Client, then connect them through an OPC UA Server (Client 1 <-> Server <-> Client 2).
I created a VM on Azure, then run the Server app on that VM. For example, my server url is: "opc.tcp://abcabcabc.net:53530", and my VM's public IP is 52.255.171.138.
The problem is:

  • If I run a Client app on the same VM with Server, the local connection between them is successful (Client connects to local url: "opc.tcp://abcabcabc.net:53530").
  • If I run a Client app from my device (remotely), and connect to url: "opc.tcp://52.255.171.138:53530", the Client cannot find the Server.
  • I can ping my the VM from my device.
    Can you suggest me some possible issues with my project?
    Please tell me if I need to provide any further information.
    Thank you
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,101 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SalimMuvak 11 Reputation points
    2020-08-10T10:01:41.873+00:00

    Hi,
    It was my mistake while I have already created a new inbound port rules, but I didn't notice that I also had to change its priority index to be lower than the one of default RDP rule (300).
    Thank you for reading

    2 people found this answer helpful.