> For the complete documentation index, see [llms.txt](https://guide.prismlive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.prismlive.com/desktop/guides/error-solution/streaming/failed-to-connect-to-the-server.md).

# Failed to connect to the server

Windows, Mac

{% 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&amp;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.

[Desktop](/desktop/overview.md), [Guides](/desktop/guides.md), [Error Solution](/desktop/guides/error-solution.md), [Streaming](/desktop/guides/streaming.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.prismlive.com/desktop/guides/error-solution/streaming/failed-to-connect-to-the-server.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
