> 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

How to start and stop 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 <service-name> start
```

```sh
sudo systemctl start <service-name>.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="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-35bded6c4976596447f41257cca98e47a78424c3%2Fwindows-stop-mediaserver.png?alt=media" alt="Stopping the Mediaserver on Windows"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Restarting the Server

Restart the server from the command line too.

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

```sh
sudo service <service-name> restart
```

```sh
sudo systemctl restart <service-name>.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="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-35bded6c4976596447f41257cca98e47a78424c3%2Fwindows-stop-mediaserver.png?alt=media" alt="Stopping the Mediaserver on Windows"><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="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-fbdb64ecf57eb87886923bc2cfafd0e7af26eac6%2Fnx-server-web-interface.png?alt=media" 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 <service-name> stop
```

```sh
sudo systemctl stop <service-name>.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="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-35bded6c4976596447f41257cca98e47a78424c3%2Fwindows-stop-mediaserver.png?alt=media" alt="Stopping the Mediaserver on Windows"><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="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-4985b37df169327cf0c1c12cc33525f206e3985f%2Fclient-ai-manager-disabled.png?alt=media" alt="Integrations tab showing the plugin disabled for this device"><figcaption><p>The Integrations tab showing that the plugin is disabled for this device</p></figcaption></figure>

<figure><img src="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-ff399a6588a4f048dfcbaf6cdcfd696c0946aebe%2Fclient-ai-manager-device-inactive-intel-runtime.png?alt=media" alt="Integrations tab showing the plugin enabled but the device not active"><figcaption><p>The Integrations tab 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="https://2982163321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKGfC0TFSmuMDjbpLErO3%2Fuploads%2Fgit-blob-27f177f0f97289600cc8e517769870339f10dbcf%2Fclient-ai-manager-device-active-intel-runtime.png?alt=media" alt="Integrations tab showing the plugin enabled and the device active"><figcaption><p>The Integrations tab showing that the plugin is enabled and the device is active.</p></figcaption></figure>
