Connecting to a Remote Server - Azure VM

We are trying a POC for which we require connecting from our local machines to a Stardog Server (Hosted on an Azure VM).

We tried connecting to the server by providing the endpoint as https://<VM_IP>:5820
but that gives "Failed to fetch".

Any documentation/steps to follow for the same?

PS: The Server is all setup and taking local requests but we wanted to access the server over internet.

It might be a cors issue with your stardog instance.

From the release of the Beta:

" P.S. if you have a value for cors.allowed.origins set in your stardog.properties you'll want to make sure it includes stardog.studio ."