mathielo / dst-dedicated-server

Don't Starve Together dedicated server guide for all platforms (Linux, Mac, Windows) with Docker. Extensive documentation covering mods installation, server config and performance, world generation and setting up admins.
MIT License
296 stars 56 forks source link

How to Connect to the server? #18

Closed kl456123 closed 4 years ago

kl456123 commented 5 years ago

Ubuntu 18.04 Local/own compute, LAN(wifi enviroment) I dont modify the other configuration other than passwd and server's name.After I run docker-compose up -d, two dockers are ok. But I cannot find them in steam server anywhere(in steam internet or LAN) If I run ./dontstarve_dedicated_server_nullrenderer -cluster ${cluster_name} -shared Master It works well and I can find it in steam server lists in LAN. Please help me thanks, I seldom use docker.

mathielo commented 4 years ago

Hey @kl456123 sorry for the late reply.

Did you uncomment the offline_server line in DSTClusterConfig/cluster.ini and set it to true? That is what determines whether yours is an "Online" or "LAN" server.

If you didn't uncomment it, it should be available in the list of online servers as long as you properly created a cluster token. If you didn't, then your sever failed to register to Klei's servers and won't be listed in the lobby, show this message in the logs:

dst_master    | [00:00:02]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dst_master    | [00:00:02]: !!!! Your Server Will Not Start !!!!
dst_master    | [00:00:02]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
kl456123 commented 4 years ago

Thanks first, I will try it then