Skip to content Nodecraft
Support / Don't Starve Together / How to manually connect to your server

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

Hit the Play! button on the title screen:

A view of the main menu screen of the game Dont Starve Together

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 tab key.

  • 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.

A view of the console screen for the game Don't Starve Together

Use the command c_connect

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("", 10999, "my-awesome-server")

If you need any assistance with this command, please let us know and we'll be happy to help.

Don't Starve Together Icon
Create a Don't Starve Together Server today!
Start Free Trial

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.