# Connecting a local WebGL to local RS

**URL:** <https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607>\
**Category:** Help\
**Created:** [November 3, 2024, 9:49am UTC](https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607 "2024-11-03T09:49:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MythicalJJ](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@MythicalJJ](https://community.coherence.io/u/MythicalJJ)\
**Post date:** [November 3, 2024, 9:49am UTC](https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607/1 "2024-11-03T09:49:57Z")

</div>

I’m trying to test out webgl but it doesn’t show my local replication server, I can connect to the local RS just fine from the editor or from standalone builds, and with webgl I can connect to the cloud hosted RS but the local server doesn’t show. I’m using unity 6.0.25 and coherence sdk 1.3.1. Anything I need to do to allow the webgl local build to connect to the local rs?

---

<div class="post-metadata">

**Author:** ![brit](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/brit/32/34_2.png) [@brit](https://community.coherence.io/u/brit)\
**Post date:** [November 4, 2024, 12:55pm UTC](https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607/2 "2024-11-04T12:55:25Z")

</div>

Hi, WebGL running locally won’t be able to “ping” your local RS in order to list it - this is a web restrictiong (CORS). If you know the IP/port of your local RS, you can hard code your local build to connect to it for testing purposes. e.g. you would skip our built-in dialog that lists hosts and simply implement your own connection. Check out the source code for the sample dialog for all the details on establishing a connection.

---

<div class="post-metadata">

**Author:** ![brit](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/brit/32/34_2.png) [@brit](https://community.coherence.io/u/brit)\
**Post date:** [November 4, 2024, 1:36pm UTC](https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607/3 "2024-11-04T13:36:04Z")

</div>

Here are more details on setting up your signalling port, which is needed for WebRTC [WebGL support | coherence Documentation](https://docs.coherence.io/support/webgl#more-details)

---

<div class="post-metadata">

**Author:** ![MythicalJJ](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@MythicalJJ](https://community.coherence.io/u/MythicalJJ)\
**Post date:** [November 4, 2024, 3:34pm UTC](https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607/4 "2024-11-04T15:34:18Z")

</div>

Ok thank you for the help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex017/uploads/coherence/original/1X/b3aa79eb9519fac7aad7eba18f15a1e8ce60f6e2.png) [@system](https://community.coherence.io/u/system)\
**Post date:** [February 2, 2025, 3:35pm UTC](https://community.coherence.io/t/connecting-a-local-webgl-to-local-rs/607/5 "2025-02-02T15:35:01Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
