Skip to content Nodecraft
Support / Don't Starve Together / How to manually connect to your server
Don't Starve Together Icon
Create a Don't Starve Together Server today!
Start Free Trial

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

To open the Console on your Don't Starve Together game client, you will need to do the following:

  • Press 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 Don't Starve Together client's console

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. This can be either the numerical IP or the Hostname.

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

Examples

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.

c_connect("your-server-ip")

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 contact us in support and we'll be happy to help.

Chat blocked!

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