OBS may fail to connect to the server if its installation is outdated. Moreover, the wrong configuration of the Bind IP or MTU may as well crusade the issue at paw. The user encounters the issue when he tries to stream (regardless of the streaming service) through the OBS awarding but encounters the following blazon of message:

Failed to connect to server. The connection time out. Make sure you lot've configured a valid streaming service and no firewall is blocking the connection.

OBS Failed to Connect to Server

Before moving on to the solutions to ready OBS failed to connect to the server, cheque if you tin can stream in OBS on a different network or a different device on the same network. Also, check if the streaming service servers are up and running. Moreover, make sure to enable Wi-Fi (fifty-fifty if yous are using an Ethernet cable). Additionally, check if the Ethernet cablevision is plugged into a regular Ethernet port, non a 10GE port. Furthermore, bank check if rebooting your PC and networking equipment solves the problem. Last but not least, if you are hosting a Vodcast, and then make sure to end it and then try to stream using OBS.

Solution i: Create and Re-enter the Stream Primal

A temporary glitch betwixt the OBS awarding and streaming service may cause the server issue and may get cleared after re-entering the Streaming key afterwards resetting primal. For illustration, we will discuss the process for Facebook Live, yous may follow the instructions as per your streaming service.

  1. Launch the Facebook in a web browser and click on the Alive Video (in the new post section).
    Open Live Video on Facebook
  2. Then select Apply Stream Fundamental and whorl down till the stop.
  3. Now click on Reset (in front of the Stream Fundamental) and then re-create the Stream cardinal.
    Create a New Stream Cardinal in Facebook
  4. And then launch OBS and click on Settings (nearly the lesser of the screen).
    Open the OBS Settings
  5. Now select Stream and paste the copied central in the Stream Cardinal box.
    Paste the Stream Key in the OBS Settings
  6. And then apply your changes and check if the OBS is streaming without any issue.

If the issue persists, check if using a different account (e.m., a different Twitch business relationship, if the issue is occurring with Twitch) resolves the OBS issue.

Solution 2: Enable Dynamic Bitrate in OBS

You may encounter the issue at paw if the frames are dropping during the streaming process. In this case, enabling the Dynamic Bitrate may solve the problem (this option is only available on OBS version 24 and above).

  1. Launch OBS and open its Settings.
  2. At present, in the left pane, select Advanced, and in the right pane, ringlet downwardly till the end.
  3. Then, in the Network section, checkmark the option of Dynamically Change Bitrate to Manage Congestion (only under Bind to IP).
    Enable Dynamically Modify Bitrate to Manage Congestion
  4. Now utilize your changes and relaunch OBS to check if it is working fine.

Solution iii: Update the OBS and Bone of Your System to the Latest Build

The OBS application may show the failed to connect to server bulletin if the OBS application or the Os of your system is outdated every bit it tin create incompatibility between the both (as well as with the servers yous want to stream). In this scenario, updating the OBS and OS of your system to the latest build may solve the problem.

Update the OBS Application

  1. Launch the OBS awarding and open up its Assistance menu.
  2. Now select Cheque for Updates and if an update is bachelor, apply the update.
    Cheque for Updates of OBS
  3. Then reboot your PC and cheque if the OBS is working fine.

If you are using an obsolete version, then download/install (without uninstalling the previous version) the latest version of the OBS awarding and check if that resolves the OBS consequence. If yous are using a Linux distro that is based on PPA (like Ubuntu), then you may execute the following in the Shell to check if that resolves the OBS consequence:

sudo apt install ffmpeg sudo add together-apt-repository ppa:obsproject/obs-studio sudo apt update sudo apt install obs-studio

Update the Bone of your System

For illustration, we will discuss the process for a Mac organisation, y'all may follow the instructions as per the Bone of your system to update.

  1. Launch the Apple Preferences and open Software Update.
    Open Software Update in the Mac's Preferences
  2. At present, check if an update of the OS is bachelor, if so, use the update and reboot the device to check if the OBS application is articulate of the failed to connect to server issue.

Solution iv: Change the Streaming Server

The OBS application may fail to connect to a server if the server itself is down. In this case, changing the streaming server to a dissimilar location may solve the trouble. For analogy, nosotros will discuss the process for the Twitch service. But before proceeding, information technology will be a good idea to apply a port scanner to check if the server port is open. If so, make certain an application is listening to the open port.

  1. Launch the OBS application and click on Settings.
  2. Now steer to the Stream tab and expand the dropdown of the Server (for some distant servers, y'all may have to lower the bitrate).
  3. Then select a unlike server and apply your changes.
    Modify Streaming Server in OBS
  4. Now relaunch the application and check if the OBS is clear of the server issue. If the result persists, then y'all may attempt all the servers one by ane in the OBS to sort out the issue.

If y'all are having problem finding the server, then you may use the Twitch Exam utility (or Ping the server) to find out the best server for you. For some services, you tin effort also effort the automobile-configure option to solve the OBS outcome.

Solution 5: Edit the Bind IP Pick in the Advanced Network Settings

The OBS application may fail to connect to a server if the Bind IP option in the Advanced Network settings is not properly configured. In this context, properly configuring Bind IP may solve the problem.

  1. Launch the OBS application and open its Settings.
  2. Now, in the left pane, steer to the Avant-garde tab, and in the right pane, scroll till the end of the screen.
  3. Then, in the Network section, expand the dropdown of the Bind to IP and select Default.
    Ready Bind to IP to Default in OBS
  4. If it is already set to Default, then select the network connection name with the IP address (preferably IPv4 address) of your system. If the Bind to IP option is greyed out, brand sure to disable all OBS outputs like NDI, virtual camera, etc., and try again).
    Set Bind to IP to Your IPv4 in OBS
  5. Now use your changes and check if the OBS tin can connect to the server.

Solution 6: Let the OBS Through the Firewall of Your Arrangement

Yous may fail to stream through the OBS if your system's Firewall is blocking access to a resources vital for the performance of the OBS application. In this context, allowing the OBS through the Firewall settings of your arrangement may solve the problem. For elucidation, we volition talk over the process for Windows Defender Firewall.

  1. Click Windows, blazon: Firewall, and open Windows Defender Firewall with Avant-garde Security.
    Open Windows Defender Firewall
  2. At present, in the Outbound Rules and Inbound Rules tab, make sure no dominion is blocking OBS (due east.g., select Inbound Rules and press the O key to bank check for OBS entry).
    Check Firewall for Rules Blocking OBS and Select Outbound Rules
  3. Then, in the left pane, select Outbound Rules and expand the Action menu.
    Create a New Rule in Firewall
  4. Now open up New Rule and select the radio push of Programme.
    Select Programme in New Dominion Window
  5. Then click on Next and click on Browse (in front of This Program Path).
    Open Browse and Steer to The Installation Directory of OBS
  6. Now navigate to the installation directory of OBS and select its EXE file equally per your OS version (e.g., OBS64.exe in the /bin/64bit folder of the installation directory).
    Select OBS64.exe in Firewall Dominion
  7. In one case the path is added in the Firewall window, click on Next and select the radio button of Allow the Connectedness.
    Select Allow The Connectedness in New Rule Window
  8. Then select the Contour as per your requirements (for testing, information technology is better to select all the three options i.e., Domain, Individual, and Public) and click Next.
  9. Now enter the name and description as per your requirements and click on Adjacent.
  10. Then reboot your PC and check if the OBS tin stream without any issue.

If the outcome persists, then make sure that the router's firewall is not blocking OBS. Besides, if you are using the OBS application in a VM, then check if the Firewall (of the arrangement or Router) or the VM itself is not blocking the admission of the OBS. If and then, so open up the TCP port 1935 (Outbound Rules>> Action>> New Dominion>> Port>> TCP 1935) in the Firewall settings to check if that resolves the OBS outcome. If the upshot persists, and then check if disabling the antivirus of your PC resolves the OBS connexion issue.

Solution 7: Lower the MTU (Maximum Transmission Unit) Size

The MTU (Maximum Transmission Unit of measurement) is used to set the maximum size of the network packet to be sent and a streaming server may drib the packets (sent by the client) that are greater in the size from the configured MTU size of the server. In this scenario, lowering the MTU (Maximum Manual Unit of measurement) size may solve the trouble. For illustration, we volition discuss the process for a Windows PC and you may follow the process as per your Os.

  1. Right-click Windows and select PowerShell (Admin).
  2. At present execute the following:
    netsh int ipv4 show subinterface
  3. Then notation down the proper name of your network in the Interface column and execute the following:
    netsh interface ipv4 set subinterface <subinterface name> mtu=1400 store=persistent
  4. Then again execute the following to bank check if the MTU size of your network adapter has inverse:
    netsh int ipv4 evidence subinterface
    Change the MTU of Your Network Adapter
  5. Now reboot your PC and bank check if the OBS is clear of the failed to connect to server result.

Solution 8: Reset the Router to the Factory Defaults

You may encounter the consequence at paw if your router settings are decadent. In this case, resetting the router to the factory defaults (make sure to continue the credentials/instructions available) may solve the trouble. This procedure is commonly non hard but due to diversity in the router's make and models, it is non feasible to cover all of them but the full general arroyo is usually the same. You tin can reset the router either through a push button on the router or use its spider web portal.

Reset Router Through a Button

  1. Switch on your router (if powered off) and locate the Reset push button, either on the bottom or backside of the router.
  2. Now press / hold (you may employ a small-scale and pointy item, eastward.g., a paperclip)the reset button for at least thirty seconds.
    Reset Your Router
  3. Then release the reset button and look till the router is fully reset and powered on (it may take 30 to 60 seconds to complete). If in that location is no Reset push on the router, check your device'due south manual to find out if the power button of the router can be used to reset it.

Reset Router Through the Web Portal

  1. Launch a web browser and steer to the default gateway of the router (e.g., 192.168.ane.1, the default gateway can exist constitute past the IPConfig control in the Command Prompt). And so enter the credentials to open the router's web portal.
  2. Now, the complicated part, as the reset option may exist located at dissimilar locations in different routers. Unremarkably, information technology is in the System or General tab. Locate the Reset Settings (or Restore Defaults) pick and and so click on it. At present confirm to reset the router and wait till the process is completed.
    Restore Your Router to Default Settings'

After resetting the router, make certain the necessary ports are forwarded (if required by the streaming server) and hopefully, OBS failed to connect upshot is resolved.