Closed nixeens closed 4 years ago
cant connect 0.0.0.0 my lan ip or localhost. Also try this ip. it shows in LAN even LAN=0 and with LAN=1 also didnt work.
docker run --rm --interactive --tty --detach --mount source=csgo-data,target=/home/steam/csgo --publish 27015:27015/tcp --publish 27015:27015/udp --publish 27020:27020/tcp --publish 27020:27020/udp --env "SERVER_HOSTNAME=CSV GO PUBLIC OGAS" --env "SERVER_PASSWORD=" --env "RCON_PASSWORD=nix123" --env "STEAM_ACCOUNT=FF9XXXXXXXXXXXXXXXXXXXXXXXXXXXXX" --env "TICKRATE=128" --env "PORT=27015" --env "TV_PORT=27020" --env "MAPGROUP=mg_active" --env "TV_ENABLE=1" --env "IP=0.0.0.0" --env "LAN=0" --env "SOURCEMOD_ADMINS=STEAM_0:1:26725759,STEAM_1:1:225210097" kmallea/csgo
What does it say in the console? docker logs -f <container-id>
?
Also try specifying IP
to be your actual IP instead of 0.0.0.0
. All zeros forces it to listen on all network interfaces, which should include the one with your actual IP.
Also, can you try using --network=host
and remove all the --publish
parameters? This will make all the ports in the container available to the host. It's possible others are needed to make it visible in the Steam server browser.
Also were you not able to manually type connect <ip>
in your CSGO console rather than use the browser?
if i use --network=host
and add my local ip.
Setting mapgroup to 'mg_active' NET_CloseAllSockets WARNING: NET_OpenSocket: bind: Cannot assign requested address Couldn't allocate any server IP port, tried 1 addresses 192.168.0.169Sat Mar 28 15:31:44 UTC 2020: Server restart in 10 seconds
@nixeens that error usually means that port is already in use. Make sure nothing else is running on your machine consuming the csgo port. Did you cleanup previous containers that used that port? docker ps -a
can show you
@kaimallea nothing there. Also used TCPview there is nothing with 27015 port on my host
Interesting. Windows Firewall blocking outbound traffic on those udp/tcp ports perhaps?
Turner windows firewall off didnt help. with bridge network its working with --publish 27016 i can get in and also friends from public ip. For now im ok with publish.
Friends can join from outside and works fine. But i cant connect from my windows machine to cs go server.