How to connect Designer from my computer to Ignition gateway on Azure cloud server

In this topic:

@catherine.fowler describes, how to open port to connect to the azure server. I've done it and it works. Is this safe?