Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant join server from my lan side. #17

Closed
nixeens opened this issue Mar 24, 2020 · 8 comments
Closed

Cant join server from my lan side. #17

nixeens opened this issue Mar 24, 2020 · 8 comments

Comments

@nixeens
Copy link

nixeens commented Mar 24, 2020

Friends can join from outside and works fine.
But i cant connect from my windows machine to cs go server.

@nixeens
Copy link
Author

nixeens commented Mar 24, 2020

cant connect 0.0.0.0 my lan ip or localhost.
Also try this ip.
image
it shows in LAN even LAN=0 and with LAN=1 also didnt work.
image

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

@kaimallea
Copy link
Owner

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.

@kaimallea
Copy link
Owner

Also were you not able to manually type connect <ip> in your CSGO console rather than use the browser?

@nixeens
Copy link
Author

nixeens commented Mar 28, 2020

if i use --network=host and add my local ip.

image

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

image

@kaimallea
Copy link
Owner

@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

@nixeens
Copy link
Author

nixeens commented Mar 28, 2020

@kaimallea nothing there. Also used TCPview there is nothing with 27015 port on my host
image

@kaimallea
Copy link
Owner

Interesting. Windows Firewall blocking outbound traffic on those udp/tcp ports perhaps?

@nixeens
Copy link
Author

nixeens commented Mar 28, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants