Jump to content

[Caves Dedicated] SOCKET_PORT_ALREADY_IN_USE


Recommended Posts

Hello,

I have a problem setting up a dedicated DST server including Caves. The dedicated server is up and running however it doesn't appear in the ingame Server List neither for me or my friends. I made sure I'm on the beta branch, same for the dedicated server.

I have followed this tutorial:

http://imgur.com/a/1KTwM


I've set up all the necessary files and both .bat files are running fine. Here's a screenshot with the command windows:
 


D6WULTD.png

 
Here are the log and my settings.ini configurations as well as the .bat configurations:
 
log.txt
[00:00:00]: Starting Up
[00:00:00]: Version: 148470
[00:00:00]: Current time: Thu Sep 24 21:39:20 2015
 
[00:00:00]: Don't Starve Together: 148470 WIN32
NNN Build Date: 2015-09-01_13-20-47
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -conf_dir DST_Server -console 
[00:00:00]: Initializing Minidump handler
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (23304)
[00:00:00]: HttpClient2::ClientThread::Main()
[00:00:00]: ProfileIndex:8.50
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: [Warning] Authorized application C:\Program Files (x86)\Steam\steamapps\Don't Starve Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is not setup in the firewall.
[00:00:00]: Authorized application C:\Program Files (x86)\Steam\steamapps\Don't Starve Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is now enabled in the firewall.
[00:00:00]: OnLoadPermissionList: APP:Klei/DST_Server/save/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: APP:Klei/DST_Server/save/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei/DST_Server/save/whitelist.txt (Failure)
[00:00:00]: Server token retrieved from: server_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: THREAD - started 'ConsoleInput' (22544)
[00:00:00]: Renderer initialize: Okay
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: FMOD Error: An invalid object handle was used. 
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile loading buffer scripts/main.lua
[00:00:00]: scripts/main.lua(169,1) running main.lua
 
[00:00:00]: loaded modindex
[00:00:00]: ModIndex: Beginning normal load sequence for dedicated server.
 
[00:00:00]: DownloadMods(0)
[00:00:00]: FMOD Error: An invalid object handle was used. 
[00:00:00]: LOADING LUA SUCCESS
[00:00:00]: PlayerDeaths could not load morgue
[00:00:00]: PlayerHistory could not load player_history
[00:00:00]: loaded profile
[00:00:00]: bloom_enabled false
[00:00:00]: loaded saveindex
[00:00:00]: OnFilesLoaded()
[00:00:00]: OnUpdatePurchaseStateComplete
[00:00:01]: Load FE
[00:00:01]: Load FE: done
[00:00:01]: ModIndex: Load sequence finished successfully.
[00:00:01]: Reset() returning
[00:00:03]: [200] Account Communication Success (6)
[00:00:03]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_7KyZuSDx
[00:00:03]: Starting Dedicated Server Game
[00:00:03]: Network tick rate: U=15(2), D=0
[00:00:03]: [Warning] Could not confirm port 10999 is open in the firewall. 
[00:00:03]: Setting up socket descriptors
[00:00:03]: Online Server Started on port: 10999
[00:00:03]: Collecting garbage...
[00:00:03]: lua_gc took 0.01 seconds
[00:00:03]: ~NetworkLuaProxy()
[00:00:03]: ~SimLuaProxy()
[00:00:03]: lua_close took 0.02 seconds
[00:00:03]: ReleaseAll
[00:00:03]: ReleaseAll Finished
[00:00:03]: cGame::StartPlaying
[00:00:03]: LOADING LUA
[00:00:03]: DoLuaFile scripts/main.lua
[00:00:03]: DoLuaFile loading buffer scripts/main.lua
[00:00:03]: scripts/main.lua(169,1) running main.lua
 
[00:00:03]: loaded modindex
[00:00:03]: ModIndex: Beginning normal load sequence for dedicated server.
 
[00:00:03]: LOADING LUA SUCCESS
[00:00:03]: PlayerDeaths could not load morgue
[00:00:03]: PlayerHistory could not load player_history
[00:00:03]: loaded profile
[00:00:03]: bloom_enabled false
[00:00:03]: loaded saveindex
[00:00:03]: OnFilesLoaded()
[00:00:03]: OnUpdatePurchaseStateComplete
[00:00:03]: Unload FE
[00:00:03]: Unload FE done
[00:00:03]: LOAD BE
[00:00:08]: LOAD BE: done
[00:00:08]: Deserialize world session from session/0780002AD68D9568/0000000008
[00:00:08]: Save file is at version 1
[00:00:08]: Begin Session: 0780002AD68D9568
[00:00:08]: saving to server_temp/server_save
[00:00:09]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:10]: Loading Nav Grid
[00:00:11]: setting summerlength 15
[00:00:11]: setting elapseddaysinseason 7
[00:00:11]: setting isfullmoon false
[00:00:11]: setting moisture 940.47100830078
[00:00:11]: setting springlength 20
[00:00:11]: setting moonphase half
[00:00:11]: setting precipitationrate 0
[00:00:11]: setting iswet false
[00:00:11]: setting winterlength 15
[00:00:11]: setting iswinter false
[00:00:11]: setting issummer false
[00:00:11]: setting moistureceil 958.08099365234
[00:00:11]: setting isday true
[00:00:11]: setting wetness 0
[00:00:11]: setting isnight false
[00:00:11]: setting isdusk false
[00:00:11]: setting isspring false
[00:00:11]: setting isautumn true
[00:00:11]: setting issnowing false
[00:00:11]: setting snowlevel 0
[00:00:11]: setting issnowcovered false
[00:00:11]: setting autumnlength 20
[00:00:11]: setting phase day
[00:00:11]: setting temperature 22.26837209825
[00:00:11]: setting pop 0.98161952333025
[00:00:11]: setting season autumn
[00:00:11]: setting israining false
[00:00:11]: setting remainingdaysinseason 13
[00:00:11]: setting time 0.0020530382792155
[00:00:11]: setting cycles 7
[00:00:11]: setting precipitation none
[00:00:11]: setting timeinphase 0.004106076558431
[00:00:14]: Reconstructing topology
[00:00:14]: ...Sorting points
[00:00:14]: ...Sorting edges
[00:00:14]: ...Connecting nodes
[00:00:14]: ...Validating connections
[00:00:14]: ...Housekeeping
[00:00:14]: ...Done!
[00:00:14]: 1 uploads added to server. From server_temp
[00:00:14]: Telling Client our new session identifier: 0780002AD68D9568
[00:00:14]: ModIndex: Load sequence finished successfully.
[00:00:14]: Reset() returning
[00:00:14]: SteamGameServer_Init Success
[00:08:14]: Serializing world session to session/0780002AD68D9568/0000000009
[00:08:14]: Truncating to snapshot #9...
[00:08:14]:  - session/0780002AD68D9568/0000000003
[00:08:14]:    1 file(s) removed


 
DST_Server settings.ini
[MISC]CONSOLE_ENABLED = trueautocompiler_enabled = true[network]steam_authentication_port = 12345steam_master_server_port = 12346default_server_name = caves chengedefault_server_description = Survivalserver_port = 10999server_password = cobramax_players = 8pvp = falsegame_mode = endlessserver_save_slot = 1[shard]shard_enable = trueis_master = truemaster_port = 11200cluster_key = secretkeysaresecret 



worldgenoverride.lua
return {override_enabled = true,preset="DST_CAVE",} 


 
DST_Caves settings.ini
[MISC]CONSOLE_ENABLED = trueautocompiler_enabled = true  [network]default_server_name = caves chengedefault_server_description = Survivalserver_port = 11001steam_authentication_port = 12348steam_master_server_port = 12349server_password = cobramax_players = 8pvp = falsegame_mode = endlessserver_save_slot = 1  [shard]shard_enable = trueis_master = falsemaster_io = 127.0.0.1master_port = 11200shard_name = cavescluster_key = secretkeysaresecret


 
Dstserver.bat
cd C:\Program Files (x86)\Steam\steamapps\Don't Starve Dedicated Server\bindontstarve_dedicated_server_nullrenderer -conf_dir DST_Server -console   


 
Dstcave.bat
 
cd C:\Program Files (x86)\Steam\steamapps\Don't Starve Dedicated Server\bindontstarve_dedicated_server_nullrenderer -conf_dir DST_Cave -console  

 

Link to comment
Share on other sites

Sry for double post, I forgot to edit the title. :( That was my initial problem while writing up my opening post, but meanwhile I've fixed it and updated the post before submitting the thread but forgot to edit the title with the new problem, which is the server not appearing in the list.

 

if any mod could update my thread title to "dedicated caves server won't appear in server list" I'd really appreciate it, thank you! :)

Link to comment
Share on other sites

Are you launching the overworld server through a batch file as well? If not I recommend trying that, from there ensure that you are properly port forwarding 10999 and 11001

Let me know if either of those were the issue.​

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...