How to manually connect to your server
This guide will show you how to manually connect to your Don't Starve Together server, if you don't see your server instantly appearing in the in-game listings.
Due to the way the in-game listings are handled, it can generally take up to 10 minutes for a server to appear in the in-game server browser. This method will allow you to connect instantly, without the wait.
Open the Console
Play! button on the title screen:
On the following screen, you will need to open the console for the game by doing the following:
You can do this by hitting the tilde (
~) key on your keyboard. This is usually located above the
When you open the console, you will see white text appear on the screen and a tan colored box down at the bottom, like the screenshot below.
Use the command
In the tan colored box, you will enter the following command:
c_connect("ip", port, "password")
Inside the parenthesis (which are required for the command to work), you can put three pieces of information (known as "arguments") for the command to work correctly. One is required, and the other two are optional. Separate these by commas as needed.
The three "Arguments' for the command are:
ip- This is always required for the command to work. You must put quotes around it.
port- The port is optional. You don't need to specify it unless you've changed to from the default of 10999. The port does not need quotes around it. If your server's port is still set to 10999, and you put 10999 there, nothing bad will happen. It's just sort of an unnecessary step.
password- This is optional too, unless you have set a password on your server already (in which case it will refuse the connection without the correct password entered there). The quotes around the password are required.
For example, if your server is running on the default port (as is normal in our system), and with no password, then you only need to have the IP specified.
If your server's password is
my-awesome-server, then the following command should be used:
c_connect("your-hostname.subdomain.com", 10999, "my-awesome-server")
If you need any assistance with this command, please let us know and we'll be happy to help.