# Testing locally

Now we can build the project and try out network replication locally. This example will show you how to launch a local [Replication Server](/1.1/coherence-sdk-for-unity/replication-server.md) and connect multiple instances of the game to it.

## Running a Replication Server locally

You can run a local Replication Server from:

*coherence > Local Replication Server > Run for Rooms / Run for Worlds*

<img src="/files/5fqMS5WcVgMXPs0GMMAD" alt="" width="563">

As with most features found in the menu, you can find local Replication Server functionality in the *coherence Hub* as well.

Open the *Replication Servers* tab and run a Room or a World Replication Server:

<img src="/files/2BWBjVRvENWtSbqUpPke" alt="" width="375">

Regardless of how you launch it, a new terminal window will open and display the running Replication Server:

<img src="/files/ewgMyNuSx6DrhBmw1f3a" alt="" width="563">

{% hint style="info" %}
Whether you run one for Rooms or for Worlds depends on [which setup you plan to use](/1.1/overview/rooms-and-worlds.md), which in turn requires the correct corresponding [Sample UI](/1.1/get-started/scene-setup/samples.md).
{% endhint %}

## Build and Connect

Now it's time to make a standalone build and test network replication.

{% hint style="info" %}
\#protip: Go to *Project Settings, Player* and change the *Fullscreen Mode* to ***Windowed*** and enable ***Resizable Window***. This will make it much easier to observe standalone builds side-by-side when testing networking.
{% endhint %}

Open the *Build Settings* window (*File > Build Settings*). Click on *Add Open Scenes* to add the current scene to the build.

Click *Build and Run***.**

<img src="/files/-MYvOGM_C3shfCIOZhyV" alt="" width="563">

Select a folder (e.g. *Builds*) and click *OK*.

<img src="/files/-MYvPgtHGtAHgj3Is6an" alt="" width="563">

When the build is done, start another instance of the executable (or run the project in Unity by just hitting Play).

![](/files/zoZS6E9wJoByqdoxl22k)

Click *Connect* in the connection UIs on both clients. Now, try focusing on one and using WASD keys. You will see the box move on the other side as well.

![](/files/wEPe3yol5oBZ1BEPaAhq)

{% hint style="success" %}
Congratulations! You've made your first coherence replicated experience. But this is only the beginning. Keep exploring the documentation to take advantage of more advanced coherence features.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coherence.io/1.1/get-started/build-and-run.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
