# Failed to connect to the server

{% hint style="danger" %}
Error Message: Failed to connect to the server Error code: 57998
{% endhint %}

We have identified cases where live streaming to YouTube via RTMP may fail to start or become unstable when using PRISM Live Studio.

When this issue occurs, users may see a **“Failed to connect to the server”, Error code: 57998**\
message in the PRISM PC app, preventing the live stream from starting.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FVsRv5sXLlL4mkPlGQNWr%2Ferror.png?alt=media&#x26;token=9020fd18-c078-4d12-a136-25ca68e28c40" alt=""><figcaption><p>Error screen</p></figcaption></figure>

This issue is not caused by an error in the PRISM service.\
It has been confirmed to be related to **recent IPv6 transition policies and ISP network infrastructure changes in certain countries**,\
which may conflict with the default OBS-based streaming connection method.

**Reference**

Due to recent network infrastructure changes,\
**users in India and Indonesia are advised to apply the settings below.**

***

#### How to Configure

1. Launch PRISM Live Studio
2. Go to **Settings**
3. Select the **Advanced** tab
4. Navigate to the **Network** section
5. Set **IP Family** to **IPv4 Only**
6. Enable **Enable network optimizations**
7. Apply the settings and restart PRISM Live Studio

***

#### Additional Information

In regions where IPv6 network connections are unstable,\
using IPv4 may help improve connection stability to the streaming ingest server.

Once the network environment is stabilized,\
live streaming is expected to function normally without additional configuration.

[..](https://guide.prismlive.com/desktop "mention"), [..](https://guide.prismlive.com/desktop/guides "mention"), [..](https://guide.prismlive.com/desktop/guides/error-solution "mention"), [streaming](https://guide.prismlive.com/desktop/guides/streaming "mention")


---

# 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://guide.prismlive.com/desktop/guides/error-solution/streaming/failed-to-connect-to-the-server.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.
