OBS Studio is a perfect choice if you're looking for an app to record or stream your screen. This free open-source application has plenty of configuration options that give you more control than other similar apps.

However, misconfigured in-app settings, outdated OS, and Windows Firewall are a few reasons why OBS Studio shows "Failed to connect to server" error. If you've run into the same problem, go through the listed solutions to resolve it quickly.

What Causes "Failed to Connect to Server" Error in OBS Studio?

The "Failed to connect to server" is among the most common errors you will come across while streaming or recording in OBS studio. Some of the common culprits behind this error are:

  1. You're using an incorrect software version.
  2. Windows Firewall is interfering and blocking the important services of the OBS Studio.
  3. You're running OBS Studio without administrative privileges.
  4. The in-app settings are not compatible with your network settings.

Having identified the reasons behind the issue, let's get into fixes that helped others users troubleshoot the problem.

1. Try Performing Basic Repairs

The first thing you must do to troubleshoot the problem is to restart OBS Studio. The best way is to close all the OBS Studio-related processes from the Task Manager. Then, start OBS Studio again and check if the problem continues.

OBS Studio is available for both 32 and 64-bit computers. While you can install the 64-bit version on a 32-bit computer, it will create different issues if you try to run it.

Therefore, you must check the Windows version of your computer and install OBS Studio accordingly. To check the Windows version, follow the below instructions:

  1. Open the Settings menu by pressing the Win + I hotkeys.
  2. Head towards System > About.
    System About page

Under the Device specifications section, check the value next to the System type.

The error message can also appear if you try to run OBS Studio without administrative privileges. To fix this, right-click the OBS Studio executable file and choose the Run as administrator option.

Lack of administrative privileges will cause different issues now and then. To avoid this, you must configure OBS Studio to always run as an administrator. Here's how to do it:

  1. Right-click on the OBS Studio executable file and choose Properties.
  2. Switch to the Compatibility tab and check the Run this program as an administrator option.
  3. Click Apply > OK to save the changes.

That's it. Launch OBS Studio and check if the problem persists.

If you are also running one of the best OBS Studio alternatives on your PC, it can result in a software conflict. To stop this from happening, close all these apps and their background processes. You can also uninstall them if you use them sparingly.

2. Change the "Bind to IP" Option

The "Failed to connect to server" error is likely to appear if the Bind to IP option is not correctly configured in OBS Studio. To fix this, you will have to change this option to the network connection name with the IP address. Here's how to do it:

  1. Launch OBS Studio and choose Settings under the Controls section.
  2. Select the Advanced option in the left panel.
  3. Click the drop-down icon next to the Bind to IP option. It'll be under the Network section.
  4. By default, this setting is set to Default. You'll have to choose the option that shows your connection name along with the IP address.
    Bind to IP option in OBS Studio
  5. Check the Dynamically change bitrate to manage congestion option.
  6. Click Apply > OK to save the changes.

Relaunch OBS Studio and check for the problem.

3. Switch to a Different Stream Server

The error can appear if your current streaming server is overloaded. The solution, in this case, is to switch to a different stream server. You can do this by following the below steps:

  1. Open Settings in OBS Studio.
  2. Select the Stream option in the left panel.
  3. Click the drop-down icon next to Server, and select a different server from the menu that crops up.
    Different Server of OBS Studio
  4. Click Apply > OK.

4. Check for Corruption Within the OBS Installation

OBS Studio's files can get corrupted for various reasons, which can cause problems like this one. In this situation, you can do an integrity check to scan your OBS installation for corruption and redownload the broken and missing files.

  1. Open OBS Studio and click the Help option at the top.
  2. Choose the Check File Integrity option from the menu that crops up.
    Check File Integrity of OBS Studio
  3. Click Yes to confirm your selection, and then click Yes again to the UAC that appears.

Wait until the process is complete. After that, relaunch OBS Studio and check if the issue continues.

5. Update OBS Studio

You can also try updating OBS Studio to fix the error. To do so, launch OBS Studio, click Help, and then select Check for updates. If any updates are available, they will be downloaded automatically.

6. Allow OBS Studio through Windows Firewall

If OBS Studio is blocked under the Windows Firewall setting, you are likely to see "Failed to connect to server" error. You'll have to allow OBS Studio in the Windows Firewall settings as a solution. Here's how to do it:

  1. Launch the Start Menu; type Allow an app through Windows Firewall and press Enter.
  2. Click the Change Settings button.
  3. In the Allowed apps and features section, scroll down and locate the OBS Studio.
  4. Check both the Private and Public boxes.
  5. Click OK.

That's it. You will have to restart your computer (see the different ways to restart your Windows computer) for the changes to take effect.

7. Change the MTU Size

If you're still facing the issue, you can try lowering the MTU (Maximum Transmission Unit) size. You can do this by following the below instructions:

  1. Open PowerShell as an administrator by pressing Win + S, typing "PowerShell", then right-clicking the search result and selecting Run as administrator.
  2. Type the following command, and press Enter:
            netsh int ipv4 show subinterface
        
  3. Note the name of your connection in the interface column.
    MTU Size in PowerShell
  4. Type the following command and press Enter.
            netsh inteface ipv4 set subinterface <Your connection name> mtu=1400 store=persistent
        

The MTU size is now changed. Launch OBS Studio and check for the problem again.

OBS Studio "Failed to Connect to Server" Error Fixed

OBS Studio is everyone's first choice to stream online, and there is a good reason behind it. But sometimes, misconfigured in-app settings can cause various issues, including the "Failed to connect to server" error. Fortunately, you can quickly troubleshoot this error by following the above fixes.