Back to Sons Of The Forest
Games· Sons Of The Forest

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

Rick R.
4 min readUpdated Nov 16, 2026

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.
Tell your players first

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.

  1. Log in to the RiverHosting panel.
  2. Click on your Sons Of The Forest server to open it.
  3. 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.
Sons of the Forest in the GAME section of the menu, then the Server Config tab

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.

  1. If the server is running, stop it first. The page shows a notice with a stop button.
  2. Find the Join Password field under Identity & Connection.
  3. Type the password you want to use (up to 40 characters). Pick something easy to share with your friends but not too obvious.
  4. Click Save Config to apply your changes.
The Save button on the Server Config page
Applies on next start

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.

  1. Click Console in the left-hand menu.
    Console in the server menu
  2. Click Start.
  3. Wait for the server to fully start before asking players to connect.
Password is now active

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.

  1. In the SERVER section of the left-hand menu, click Settings, then the Network tab at the top of the page.
    Settings in the SERVER section of the menu, then the Network tab
  2. Copy the IP address and port shown there.
  3. Share the IP, port, and your chosen password with anyone you want to invite.
Custom subdomain

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.

  1. 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.
  2. Update the Join Password field with a new value, or clear it completely to remove the password requirement.
  3. Click Save Config.
  4. Start the server for the change to take effect.
Removing the password

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.

Contact support

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