# Connecting to a Remote Server - Azure VM

**URL:** <https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072>\
**Category:** Support\
**Created:** [November 4, 2022, 7:02am UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072 "2022-11-04T07:02:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit.sikka](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@ankit.sikka](https://community.stardog.com/u/ankit.sikka)\
**Post date:** [November 4, 2022, 7:02am UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072/1 "2022-11-04T07:02:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![shane.blake](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@shane.blake](https://community.stardog.com/u/shane.blake)\
**Post date:** [November 7, 2022, 1:30am UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072/2 "2022-11-07T01:30:20Z")

</div>

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` ."

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [November 28, 2022, 12:28pm UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072/3 "2022-11-28T12:28:20Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [December 21, 2022, 9:12pm UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072/4 "2022-12-21T21:12:48Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [January 18, 2023, 6:37am UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072/5 "2023-01-18T06:37:14Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [February 15, 2023, 9:47am UTC](https://community.stardog.com/t/connecting-to-a-remote-server-azure-vm/4072/6 "2023-02-15T09:47:14Z")

</div>


