Jump to content

Server shows up in online list, but can't connect. Can connect in LAN though.


Recommended Posts

I've set up the dedicated server on a separate desktop from the one I play on. I've set up port forwarding for 10999 UDP on my home router to go to this desktop. When I browse for games, it does show up in the list of "Online" servers. But when I try to connect, I just get the "The server is not responding. Try yelling louder?" message.

 

If I switch from the "Online" to "LAN" list, I can connect to it just fine.

 

The server is running on a Windows 7 box.

 

So, it seems to be port forwarding issue? But then I tried moving the server into the DMZ so every port gets forwarded to it, and I see the exact same thing.

 

When I tether my laptop to my phone (and thus outside my LAN, coming from the internet) to connect, instead of the "server not responding" message, it just takes longer until eventually I get a "Disconnected. You have lost connection to the server. Maybe it's for the best, you know?" message.

 


I do see this in output when I connect from my non-LAN, tethered laptop:

[00:04:58]: Client connected from IP: 172.56.32.200

[00:04:58]: ValidateGameSessionToken token: rw^eyJVc2VySUQiOiJLVV9IY01NektiYyIsI

kdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^XCidxbVl

NAJT/6goPkvEhnDUhiGerQg0 for: 729583140658160857

[00:04:58]: SendHandShakeServerListing

[00:05:04]: [steam] UserConnectAndAuthenticate successfully sent for steamid '76

561198013055155'

 

I saw this similar output (followed by a "[steam] UserDisconnect successfully" message) when some random person on the internet tried to connect.

 

Note that I *don't* see this output when I try to connect from my laptop that is on the LAN (i.e. connected to my home network same as the server). This is when I get the "Server not responding" message.

 

The thing is, if I run the server on a non-forwarded port like port 10888, I see the same thing. It's weird that the port the server is running off of doesn't matter. (Or maybe I am mis-remembering what I did? I've been trying to diagnose this for a couple hours before posting.)

 


 

Here's the output when I ran the server:

C:\steamcmdgames\bin>dontstarve_dedicated_server_nullrenderer.exe

[00:00:00]: Starting Up

[00:00:00]: Version: 148470

[00:00:00]: Current time: Thu Oct 22 11:44:39 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:

[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' (2988)

[00:00:00]: HttpClient2::ClientThread::Main()

[00:00:00]: ProfileIndex:8.60

[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]: Authorized application C:\steamcmdgames\bin\dontstarve_dedicated_server_nullrenderer.exe is enabled in the firewall.

[00:00:00]: WindowsFirewall - Application already authorized

[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)

[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)

[00:00:00]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)

[00:00:00]: Server token retrieved from: server_token.txt

[00:00:00]: cGame::InitializeOnMainThread

[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_HcMMzKbc

[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:04]:     LOAD BE: done

[00:00:04]: Deserialize world session from session/05A000007E2DAD51/0000000002

 

[00:00:05]: Save file is at version 1

[00:00:05]: Begin Session: 05A000007E2DAD51

[00:00:05]: saving to server_temp/server_save

[00:00:05]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )

[00:00:05]: Loading Nav Grid

[00:00:05]: setting     summerlength    15

[00:00:05]: setting     elapseddaysinseason     0

[00:00:05]: setting     isfullmoon      false

[00:00:05]: setting     moisture        9.1082801818848

[00:00:05]: setting     springlength    20

[00:00:05]: setting     moonphase       new

[00:00:05]: setting     precipitationrate       0

[00:00:05]: setting     iswet   false

[00:00:05]: setting     winterlength    15

[00:00:05]: setting     iswinter        false

[00:00:05]: setting     issummer        false

[00:00:05]: setting     moistureceil    928.841796875

[00:00:05]: setting     isday   true

[00:00:05]: setting     wetness 0

[00:00:05]: setting     isnight false

[00:00:05]: setting     isdusk  false

[00:00:05]: setting     isspring        false

[00:00:05]: setting     isautumn        true

[00:00:05]: setting     issnowing       false

[00:00:05]: setting     snowlevel       0

[00:00:05]: setting     issnowcovered   false

[00:00:05]: setting     autumnlength    20

[00:00:05]: setting     phase   day

[00:00:05]: setting     temperature     33.049609450843

[00:00:05]: setting     pop     0.0098060619284454

[00:00:05]: setting     season  autumn

[00:00:05]: setting     israining       false

[00:00:05]: setting     remainingdaysinseason   20

[00:00:05]: setting     time    0.075918992360433

[00:00:05]: setting     cycles  0

[00:00:05]: setting     precipitation   none

[00:00:05]: setting     timeinphase     0.15183798472087

[00:00:07]: Reconstructing topology

[00:00:08]:     ...Sorting points

[00:00:08]:     ...Sorting edges

[00:00:08]:     ...Connecting nodes

[00:00:08]:     ...Validating connections

[00:00:08]:     ...Housekeeping

[00:00:08]:     ...Done!

[00:00:08]: Truncating to snapshot #2...

[00:00:08]:  - session/05A000007E2DAD51/OU_76561198013055155_/0000000003

[00:00:08]:    1 file(s) removed

[00:00:08]: 1 uploads added to server. From server_temp

[00:00:08]: Telling Client our new session identifier: 05A000007E2DAD51

[00:00:08]: ModIndex: Load sequence finished successfully.

[00:00:08]: Reset() returning

Setting breakpad minidump AppID = 322330

[00:00:08]: SteamGameServer_Init Success

Just to explain to future people, it turns out that my server *does* work (sort of). Other people online can connect to it, but if I want to connect to it from my LAN, I need to select it from the LAN section instead of the Online section. Seems weird that it doesn't work automatically, but it does work.

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