Comments (11)
Hmm, that's interesting. So I assume it's a problem with your hosting PC's routing. Thanks for looking into it.
from csgo.
Hey,
Are you running the container on Docker for Windows?
from csgo.
Hey,
No, on Debian
from csgo.
Do you have a firewall enabled (if yes is the port open)?
If no, can you please post the docker logs of the container?
from csgo.
Hi there, same problem here. I'm on Docker for Windows and have no idea on what IP I should use on connect command. Also, the server doesn't appear on local servers (LAN) or in Internet servers.
Any ideas?
from csgo.
If you run docker on windows, you can't use --net=host
, you'll need to use port mappings instead -p
.
The IP should be the private IP of your machine if you are trying to connect from inside your network and the public one of your router if you are trying to connect externally. The latter only works if you port forward your game server ports from your router to your machine.
from csgo.
Thank you very much, @CM2Walki for your attention and fast response on this. I'll give it a try with -p
and post the results here. (Sorry my rusty english).
from csgo.
Hi there, it worked! Partially, but it worked. Now the server shows up on the LAN servers, but I can't connect to it still. It says "server not responding". Throught the connect
on console, it just shows the "Connection timeout after 30 retries" error.
Any tips? Thank you in advance ;)
from csgo.
Considering you are hosting a LAN server, make sure your PC's firewall allows connections to the game server ports.
For connections from outside, have you passed a valid SRCDS_TOKEN
?
from csgo.
Considering you are hosting a LAN server, make sure your PC's firewall allows connections to the game server ports.
I've disabled firewall to make those tests. Now it is enabled, but I have set two exceptions for port ranges 27015-27100 - one for tcp and one to udp.
For connections from outside, have you passed a valid SRCDS_TOKEN?
Yes, I'm passing my GLST on SRCDS_TOKEN
. Even when I'm trying to connect locally.
I have some questions on LAN connection:
- I HAVE to remove the
SRCDS_TOKEN
if I want to connect locally or it can be set anyway? - many sites and blogs mention the need of a
sv_lan
param. Do you know if this param is really required to run locally?
To let you know:
- I'm on Windows 10 using Docker for Windows;
- I'm trying to connect from a CS:GO client that is installed and running on the same computer that is running Docker;
- I've already tried to write my own Dockerfile with
ubuntu:18.04
to see if it works, but got the same results; - I've tried the Docker IP from
docker inspect
command, tried the IPs onipconfig
command, tried127.0.0.1
andhttp://localhost
.
Thanks again!
from csgo.
UPDATE: It worked when I'm connecting from other computer from the same network.
from csgo.
Related Issues (20)
- Issue Running Docker Image HOT 2
- esl configs are outdated HOT 5
- My server is unable to list in the CSGO Community Servers HOT 2
- Server not showing on LAN tab when running on WSL2 HOT 1
- entry.sh
- Running on OS X on Docker Desktop HOT 2
- CS2 HOT 10
- Volume owner and group HOT 1
- Getting `SteamAPI_Init() failed; create pipe failed.free(): invalid pointer` on sourcemod build HOT 5
- Container is not starting on Ubuntu 18.10 HOT 13
- Malware found in container HOT 1
- How to change the server port after created a container HOT 2
- Server suddenly not starting anymore HOT 10
- Instance is not accessible from Internet HOT 2
- 100% CPU Usage can't kill container HOT 3
- missing configuration files HOT 3
- [Feature Request] Update only execution HOT 1
- Get5 mod compatibility question HOT 1
- Container don't start with Debian 11 HOT 1
- Permission denied HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csgo.