Nitric May 1, 2013 @ 6:37am
Nobody can connect the CS:GO server
Hello! I downloaded the CS:GO server using SteamCMD and created a .bat-file following the instructions.
Here's my .bat:
srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust2 -port 27015
Then I tried to run the server using my .bat-file. It started. I tried to cennect... but it failed after 10 retries. I asked all my friends, they also cannot connect using my IP. I can only connect with local IP (like 192.168.0.1) but I can't connect with public IP (like 94.188.57.222).
Port 27015 is 100% forwarded!
Could you tell me, what's wrong? Why is it not dedicated? Why nobody can connect my server?
< >
Showing 1-15 of 68 comments
Sepp May 1, 2013 @ 9:08am 
As you can connect from inside the LAN the server is running fine it seems. Make sure that sv_lan is set to 0. If it still doesn't work then it's either a firewall blocking the port or the portforwarding is not working correctly. And your friends have to connect to your public IP of course.
Nitric May 2, 2013 @ 12:45am 
Originally posted by Sepp:
As you can connect from inside the LAN the server is running fine it seems. Make sure that sv_lan is set to 0. If it still doesn't work then it's either a firewall blocking the port or the portforwarding is not working correctly. And your friends have to connect to your public IP of course.
Should sv_lan be set to 0 in server.cfg or some other config?
Sepp May 2, 2013 @ 3:52am 
In your servers console just type sv_lan and it'll show you the value it's set too. Maybe it's already set to 0 and you don't need to change it.
It took me a while to figure out where to set this cvar permanently and I don't remember it exactly. I think it was in autoexec.cfg but if you need to know for sure I can take a look into my servers setup later.
Nitric May 2, 2013 @ 4:24am 
Originally posted by Sepp:
if you need to know for sure I can take a look into my servers setup later.
That will be very nice!
Sepp May 2, 2013 @ 6:01am 
Ok...I had to put it into the gamemode specific config file which is executed from gamemodes_server.txt. In my case it's named my_server_override_competitive.cfg.
That's the only place it worked automatically at server start.
However you should simply check the value your server is running on as sv_lan 0 is default. I just wanted to make you aware that this could be a possible problem in your case.
Nitric May 2, 2013 @ 7:20am 
I found a problem in port forwarding.
But now when I connect the server with the public IP it starts loading the game and then it says something about ping, that I should go to Game Settings and change the max oing there.
F@@k..
Sepp May 2, 2013 @ 8:09am 
I assume you're connected to the LAN so you should connect to the private LAN ip address. Connecting to the public address from inside the LAN has to be supported by the router, though I have no idea what the feature would be called. I just remember that from reading other threads in the forums.
Nitric May 2, 2013 @ 8:50am 
In any case thanks a lot!
Sepp May 2, 2013 @ 10:11am 
You're welcome.
add "+login anonymous" and "+ip 0.0.0.0 +net_public_adr 0.0.0.0"
first solves the problem while steam client already running and second, dont ask my why, is setting up the ips correctly after launch
Final Girl Expert May 20, 2013 @ 8:54pm 
Thanks for this, it helped with an issue I was having as well.
¯\_(ツ)_/¯ May 26, 2013 @ 3:11am 
Nice, thx
SuRIM Jun 6, 2014 @ 4:00pm 
my friends cant join :(
Blaquicat Jun 6, 2014 @ 4:08pm 
You lack router config.
port forwarding..

Last edited by Blaquicat; Jun 6, 2014 @ 4:08pm
Zitonin Jun 9, 2014 @ 12:47am 
:)
< >
Showing 1-15 of 68 comments
Per page: 1530 50

Date Posted: May 1, 2013 @ 6:37am
Posts: 68