Configure OBS Studio for RTMPS with Port
This article provides a straightforward, step-by-step guide on how to configure OBS Studio to stream to any platform that requires a secure RTMPS connection with a specific port number. You will learn how to locate the custom server settings in OBS, properly format the RTMPS URL containing the port, and successfully initiate your stream.
Step 1: Open Stream Settings in OBS Studio
- Launch OBS Studio on your computer.
- In the bottom-right corner of the interface, click on Settings (or go to File > Settings in the top menu).
- In the Settings window, click on the Stream tab located in the left sidebar.
Step 2: Switch to Custom Service
By default, OBS Studio lists pre-configured platforms like Twitch or YouTube. To use a specific RTMPS URL and port, you must enable custom settings.
- Click the dropdown menu next to Service.
- Select Custom… from the list. This will reveal two fields: Server and Stream Key.
Step 3: Format and Enter the RTMPS URL with the Port
When a platform requires a specific port for RTMPS (which is
typically port 443 for secure connections, though some
custom servers use others), you must append the port to the server
address using a colon (:).
Use the following format for the Server field:
rtmps://[server-address]:[port]/[application-or-path]
Example:
- Standard Server Address:
live-api-s.facebook.com - Port:
443 - Path:
rtmp - What you type into the Server field:
rtmps://live-api-s.facebook.com:443/rtmp
Enter your formatted URL directly into the Server text box in OBS.
Step 4: Enter the Stream Key
- Copy the unique Stream Key provided by your streaming platform.
- Paste the key directly into the Stream Key field in OBS Studio.
- Keep this key private, as anyone with access to it can stream to your account.
Step 5: Save and Test the Connection
- Click Apply in the bottom-right corner of the Settings window, then click OK.
- Ensure your scenes and audio sources are ready.
- Click Start Streaming on the main OBS control panel.
If the connection is successful, the status bar at the bottom right of OBS will turn green, displaying your bitrate and frame rate. If you receive a connection error, double-check that the port number is correct and that your computer’s firewall is not blocking outbound traffic on that specific port.