Server not showing on LAN tab when running on WSL2
dominic-ks opened this issue · 1 comments
Hello, having trouble taking this for an initial test drive, I'm running Docker in WSL2.
Have tried running the command:
$ docker run -d --net=host --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo
Both with and without the token, in case that mattered (though I believe you should be able to do it without. I've also tried mapping the ports 27015:27015/udp
and 27015:27015/tcp
instead of using the --net=host
flag and also setting the SRCDS_LAN
variable to 1.
Regardless of all of these, nothing appears in the LAN servers tab, I've also tried manually adding the server using various localhost IPs, 127.0.0.1 etc. as well as WSL2's IP. I've also tried connecting with rcon using an rcon client with the same but can't connect.
I'm sure there's some simple option I'm missing here, would just like to skip to knowing what it is...!
Cheers,
Just realised that actually this is the issue I have