OBS Studio Guides

Controlling OBS remotely with WebSocket

OBS includes a WebSocket server that lets other apps and devices control it. Turning it on, port 4455 and the password, old v4 apps, and fixing failed connects.

Published November 5, 2026Updated November 18, 20267 minute readBy WaveSync Staff
Illustration of a row of scene thumbnails with colored tabs on a dark control deck, beside a portrait preview screen, a large dial and a stylus pad
In this guide

Turn on the built-in OBS WebSocket server and phone apps, control surfaces and other programs can send commands to OBS. So can anyone else with the address, port and password. You set it up in the WebSocket Server Settings window: enable the server, choose the port, and turn on authentication with a password. OBS recommends using the password it generates, because it stores the server password as plain text.

Labels, warnings and defaults are from the WebSocket component bundled with OBS Studio 33.0.1, version 5.7.6. We read its source, README and protocol documentation on 15 November 2026. For the keyboard alternative, see the hotkeys guide; the rest of the series is in the OBS Studio hub.

Turn on the WebSocket server

  1. Open the Tools menu and choose WebSocket Server Settings.
  2. Tick Enable WebSocket server. It's off until you do.
  3. Leave Enable Authentication ticked. The component's README says it generates a password for you the first time it loads, and Generate Password makes a new one.
  4. Note the Server Port. The default is 4455; change it only if another program already uses that port.
  5. Use Show Connect Info to see the details a remote app needs: Server IP (Best Guess), Server Port, Server Password and a Connect QR code. The Copy button copies them.
  6. Choose OK, then enter the details in the app or device you want to connect.

Copy the password rather than retyping it. Generated passwords are long, and one wrong character produces an authentication failure that looks exactly like a wrong port from the app's side.

Built in since OBS 28, and why old apps fail

obs-websocket's README says it has been included by default since OBS Studio 28.0.0, so there's nothing to download for a current OBS. Guides that tell you to install it as a plugin date from before then.

The version change matters more than the install. The 5.0.0 release notes say 5.x is effectively a new protocol, so apps designed only for 4.x versions will not work with 5.x. The default port moved to 4455 at the same time. If a controller connects to nothing after years of working, check whether its maker has a 5.x version before blaming OBS. The same notes offered a separate 4.9.1-compat build to keep 4.x support alongside 5.0, but that was for 2022-era OBS, not something to look for in OBS 33.

What a connected app can do

Nearly everything you can click. The protocol documentation groups its requests into general, config, sources, scenes, inputs, transitions, filters, scene items, outputs, stream, record, media inputs and UI. That covers switching scenes, muting inputs, showing and hiding sources, starting and stopping the stream, recording and replay buffer, and saving a replay.

Scene switching respects Studio Mode. The protocol has separate requests to set the program scene and the preview scene, and one to trigger the Studio Mode transition. A controller built for a single-view workflow may switch the live scene even while you're using Preview, so test it with Studio Mode on before relying on it.

The README lists clients that use the protocol, including Touch Portal, Streamer.bot, the Bitfocus Companion module, Macro Deck, Deckboard and OBS Blade. Touch Portal and Macro Deck are compared as controllers in Stream Deck alternatives. It also lists libraries for Python, JavaScript, Go, Rust, Java and Dart. For an Elgato Stream Deck, Elgato's own OBS plugin page doesn't say how its plugin connects; the Stream Deck setup guide covers installing it.

Security

  • OBS warns that it stores the server password as plain text and highly recommends a generated password over your own.
  • Passwords must be 6 or more characters.
  • Show Connect Info warns you first if a stream or recording is active, so you don't show your password on stream.
  • The Connected WebSocket Sessions table lists each connection's remote address, session duration and messages in and out, with a Kick button.

Anyone with the address, port and password can control your OBS, so keep authentication on. The protocol documentation describes a SHA256 challenge for logging in, so the password itself isn't sent across the network. It describes no encryption for the commands that follow.

Our view: keep the server on your local network. Don't forward port 4455 on your router to reach OBS from outside. If a tool genuinely needs remote access, a VPN to your home network keeps the port off the open internet.

When a controller can't connect

  1. Check Enable WebSocket server is ticked.
  2. Check OBS isn't in Safe Mode. The settings window says the server is not started automatically when Safe Mode is enabled; restart in Normal Mode from the Help menu. The update troubleshooting guide explains why OBS may have started in Safe Mode.
  3. Turn on Enable System Tray Alerts. A WebSocket Authentication Failure alert means the controller reached OBS with the wrong password. No alert at all means it never reached OBS.
  4. Look at Connected WebSocket Sessions to see whether the controller is listed.
  5. If it never appears, check the IP address and port the controller uses against Show Connect Info. Then check anything between the two devices, such as a firewall on the OBS computer.

Enable Debug Logging adds detail to OBS's log for troubleshooting a connection; OBS notes it doesn't persist after restart unless OBS is launched with --websocket_debug. The log guide explains reading the log.

Command-line overrides

The WebSocket server reads four launch options, documented in its README. --websocket_port and --websocket_password override the saved values, --websocket_debug turns on debug logging from launch, and --websocket_ipv4_only listens on IPv4 only. They suit a second OBS instance that needs its own port, or a machine where a controller only speaks IPv4. Values set this way apply to that launch; the port override isn't written back to your saved settings.

WebSocket questions

Is OBS WebSocket built into OBS?

Yes. The WebSocket server has shipped with OBS Studio since 28.0.0, and OBS 33.0.1 bundles version 5.7.6. Open Tools, WebSocket Server Settings and tick Enable WebSocket server to turn it on. There's nothing to download; plugin installers you find online are for OBS versions older than 28.

Is it safe to turn on the OBS WebSocket server?

Keep Enable Authentication on and use a generated password. OBS warns that it stores the password as plain text, and anyone with the details can control OBS. Login uses a SHA256 challenge so the password isn't sent, but keep the server on your local network rather than opening its port on your router.

What is the default OBS WebSocket port?

4455. The 5.0.0 release notes moved the default there from the port the 4.x versions used. You can change it under Server Port in WebSocket Server Settings, or for one launch with --websocket_port. Whatever you pick, enter the same number in every app that connects.

Why does my app say OBS WebSocket authentication failed?

The app reached OBS but sent the wrong password. Open Show Connect Info, copy the Server Password, and paste it into the app instead of retyping it. If you recently pressed Generate Password, every connected app needs the new one. An app written only for the old 4.x protocol will also fail to connect to OBS 28 and later.

How do I turn on the WebSocket server in OBS?

Open Tools, WebSocket Server Settings, tick Enable WebSocket server and leave authentication on.

Why does my old OBS remote app not connect?

Apps made for protocol version 4.x don't work with 5.x, which OBS has included since version 28. Check for a 5.x version of the app.

Can I control OBS remotely from outside my home?

Don't forward port 4455. Use a VPN to your home network if a tool truly needs remote access.

How do I see which apps are connected to OBS?

The Connected WebSocket Sessions table lists each connection's address, duration and messages, with a Kick button.

Why is the WebSocket server off after a crash?

OBS may have started in Safe Mode, which doesn't start the server. Restart in Normal Mode from the Help menu.

How long must the WebSocket password be?

6 characters or more, though OBS recommends its generated password because it stores the password as plain text.

Sources and checks

7 sources, checked November 15, 2026

Platform and app documentation changes. These sources were checked on the dates shown.

WaveSync app and source checks cited on this page:

  • OBS Studio 32.2.2 obs-websocket labels and warnings (WebSocket Server Settings, Enable WebSocket server, Enable Authentication, Server Password, Generate Password, Server Port, Show Connect Info, the plain text password warning, the 6 character minimum, Connected WebSocket Sessions, Enable Debug Logging, Enable System Tray Alerts) and the Safe Mode text, read from the installed app on the WaveSync test Mac on 5 November 2026.
  • obs-websocket at commit e28f849 (bundled with OBS Studio 33.0.1, version 5.7.6) read on 15 November 2026: locale labels including the Safe Mode warning and tray alerts; defaults in Config.h (server off, port 4455, authentication on, alerts off); first-load password generation and --websocket_port, --websocket_password, --websocket_debug and --websocket_ipv4_only handling in Config.cpp (port override not saved); README client list; protocol request groups, SetCurrentPreviewScene, TriggerStudioModeTransition and SHA256 authentication.
If you also stream on TikTok LIVE

WaveSync makes the interactive side easy

WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.

See how WaveSync works →