How to Enable and Configure a Password on Your Sons Of The Forest Server

Learn how to set a password on your Sons Of The Forest server using the RiverHosting panel so only invited players can join your world.
Adding a password to your Sons Of The Forest server is one of the easiest ways to keep your world private. Whether you are playing with a small group of friends or just want to stop random players from dropping in, a server password means only people you invite can connect.
This guide walks you through setting and changing your server password from the RiverHosting panel. No file editing is needed.
Before you start
- You need an active Sons Of The Forest server with RiverHosting.
- Log in to the panel at panel.riverhosting.com and open your server.
- Your server must be stopped before you can change the password. The Server Config fields are disabled and Save Config is blocked while it runs, because the game only reads its config at boot.
If your server is already running with active players, let them know you are adding a password before you stop the server. They will need the password the next time they try to join.
1. Open the Server Config page
The Server Config page is where you control the main settings for your Sons Of The Forest server, including the password.
- Log in to the RiverHosting panel.
- Click on your Sons Of The Forest server to open it.
- In the GAME section of the left-hand menu, click Sons of the Forest, then the Server Config tab at the top of the page.

2. Set your server password
Once you are on the Server Config page, look for the password field. This is the value players will need to enter before they can join your server.
- If the server is running, stop it first. The page shows a notice with a stop button.
- Find the Join Password field under Identity & Connection.
- Type the password you want to use (up to 40 characters). Pick something easy to share with your friends but not too obvious.
- Click Save Config to apply your changes.

Changes to the Server Config do not take effect until the server starts again. After saving, start your server from the Console page for the password to become active.
3. Start or restart your server
After saving your new password, you need to start the server so the change takes effect.
- Click Console in the left-hand menu.

- Click Start.
- Wait for the server to fully start before asking players to connect.
Once the server has started, the password is live. Any player who tries to join will be prompted to enter it before they can connect.
4. Share the password with your players
Your players will need both your server address and the password to connect. You can find your server's connection details on the Network page.
- In the SERVER section of the left-hand menu, click Settings, then the Network tab at the top of the page.

- Copy the IP address and port shown there.
- Share the IP, port, and your chosen password with anyone you want to invite.
If you want a more memorable server address, you can set up a custom subdomain. In the SERVER section of the left-hand menu, click Settings, then the Subdomain tab at the top of the page. Instead of sharing a raw IP, your players can connect using an address like survival.playriver.net followed by a colon and your port.
5. How to remove or change the password later
If you want to change the password or remove it entirely, the process is the same as setting it.
- Stop the server, then in the GAME section of the left-hand menu, click Sons of the Forest, then the Server Config tab at the top of the page.
- Update the Join Password field with a new value, or clear it completely to remove the password requirement.
- Click Save Config.
- Start the server for the change to take effect.
If you clear the password field and save, your server will become public. Anyone who knows your server address will be able to join without a password.
Troubleshooting
- Players say the password is not working. Make sure you started the server again after saving the new password. Changes do not apply until the next start.
- The password field is empty but players are still being asked for one. The server may still be running with the old configuration. Stop it fully, check the field, then start it again.
- You have forgotten the current password. Go to Server Config and check the Join Password field. The current value should be visible there. To change it, stop the server, update it, save and start.
- Players can still join without a password. Check that the server was stopped and Save Config was clicked before starting it. If the issue continues, stop the server fully, check the Join Password field, then start it again.
Need help?
If you run into any issues setting up your server password or anything else on your Sons Of The Forest server, the RiverHosting support team is happy to help.
Visit riverhosting.com/support to open a support ticket and a member of the team will get back to you as soon as possible.
Similar Articles
How to Add and Manage Admins on Your Sons Of The Forest Server
Learn how to add admins to your Sons Of The Forest server using the RiverHosting panel so trusted players can help manage and moderate your game.
How to Adjust Auto-Save and Performance Settings on Your Sons Of The Forest Server
Learn how to change the auto-save interval, target framerates and idle day cycle on your Sons Of The Forest server from the RiverHosting panel, and undo any change safely if needed.
How to Change the Difficulty on Your Sons Of The Forest Server
Learn how to change the difficulty on your Sons Of The Forest server from the RiverHosting panel so you can make survival harder or easier for your group.