> For the complete documentation index, see [llms.txt](https://nx.docs.scailable.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nx.docs.scailable.net/ai-manager-v6.1.4/support-and-troubleshooting/troubleshooting/controlling-the-server-and-the-plugin.md).

# Controlling the server and the plugin

## Start the Server

The Mediaserver usually starts automatically when the host computer boots up.

Start it manually from the command line with either of the following commands:

{% tabs %}
{% tab title="Linux" %}

```sh
sudo service networkoptix-metavms-mediaserver start
```

```sh
sudo systemctl start networkoptix-metavms-mediaserver.service
```

{% endtab %}

{% tab title="Windows" %}
Open the Services application, select the Network Optix Server service that matches the customization, and control it from the context menu or the start, restart, and stop links.

<figure><img src="/files/kA3XzCCaBnHkzx1OmpES" alt="Stopping the Mediaserver on Windows before removing the plugin"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Restarting the Server

Restart the server from the command line too.

{% tabs %}
{% tab title="Linux" %}

```sh
sudo service networkoptix-metavms-mediaserver restart
```

```sh
sudo systemctl restart networkoptix-metavms-mediaserver.service
```

{% endtab %}

{% tab title="Windows" %}
Open the Services application, select the Network Optix Server service that matches the customization, and control it from the context menu or the start, restart, and stop links.

<figure><img src="/files/kA3XzCCaBnHkzx1OmpES" alt="Stopping the Mediaserver on Windows before removing the plugin"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

Restart the server from the built-in Nx Meta Mediaserver web interface instead. Access it at `https://localhost:7001/`, at `https://127.0.0.1:7001/`, or at the external IP address on the same port.

<figure><img src="/files/whyJumtgmBdrT0MYvBVa" alt="Nx Meta Mediaserver web interface accessed at localhost:7001"><figcaption></figcaption></figure>

## Stopping the Server

Stopping the server on the command line is similar to starting and restarting.

{% tabs %}
{% tab title="Linux" %}

```sh
sudo service networkoptix-metavms-mediaserver stop
```

```sh
sudo systemctl stop networkoptix-metavms-mediaserver.service
```

{% endtab %}

{% tab title="Windows" %}
Open the Services application, select the Network Optix Server service that matches the customization, and control it from the context menu or the start, restart, and stop links.

<figure><img src="/files/kA3XzCCaBnHkzx1OmpES" alt="Stopping the Mediaserver on Windows before removing the plugin"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Starting the Plugin

To start the plugin, toggle the switch on the left of the title, then enable the **Device Active** toggle that appears.

<figure><img src="/files/qy3KWFHcfsPWRCS4m5ot" alt="Popup window showing the plugin disabled for this device"><figcaption><p>The popup window showing that the plugin is disabled for this device</p></figcaption></figure>

<figure><img src="/files/vucyTGRHDzEAYOuBa6wA" alt="Popup window showing the plugin enabled but the device not active"><figcaption><p>The popup window showing that the plugin is enabled for this device, but the device is not active.</p></figcaption></figure>

## Stopping the Plugin

Stop the plugin from within the desktop client.

To stop the plugin, switch the **Device Active** toggle to off for all devices on the server.

<figure><img src="/files/2wATdJxfVA0VYVz3YZnx" alt="Popup window showing the plugin enabled and the device active"><figcaption><p>The popup window showing that the plugin is enabled and the device is active.</p></figcaption></figure>
