GithubHelp home page GithubHelp logo

server not recheable about csgo HOT 11 CLOSED

cm2walki avatar cm2walki commented on September 28, 2024
server not recheable

from csgo.

Comments (11)

CM2Walki avatar CM2Walki commented on September 28, 2024 1

Hmm, that's interesting. So I assume it's a problem with your hosting PC's routing. Thanks for looking into it.

from csgo.

CM2Walki avatar CM2Walki commented on September 28, 2024

Hey,

Are you running the container on Docker for Windows?

from csgo.

tomflenner avatar tomflenner commented on September 28, 2024

Hey,

No, on Debian

from csgo.

CM2Walki avatar CM2Walki commented on September 28, 2024

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.

gabrielfgularte avatar gabrielfgularte commented on September 28, 2024

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.

CM2Walki avatar CM2Walki commented on September 28, 2024

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.

gabrielfgularte avatar gabrielfgularte commented on September 28, 2024

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.

gabrielfgularte avatar gabrielfgularte commented on September 28, 2024

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.

CM2Walki avatar CM2Walki commented on September 28, 2024

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.

gabrielfgularte avatar gabrielfgularte commented on September 28, 2024

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 on ipconfig command, tried 127.0.0.1 and http://localhost.

Thanks again!

from csgo.

gabrielfgularte avatar gabrielfgularte commented on September 28, 2024

UPDATE: It worked when I'm connecting from other computer from the same network.

from csgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.