Closed jbehrmusic closed 3 years ago
You can try overriding the rcon port, e.g. to 27016 in the rcon tab. Don't know why this works but it does for me. Then after a while, weeks, you may have to revert back to by removing the override port. Again, don't know why.
If you're just connecting on the same LAN there's no need to open anything in the router. Just the firewall on the host where csgosl is running.
On Sun, Dec 13, 2020, 03:34 jbehrmusic notifications@github.com wrote:
When trying to use rcon, I get the error, "Failed connecting to server 192.168.1.8:27015 http://192.168.1.8:27015 (couldn't open socket: connection refused)"
I already have the port open on my router. I have opened ports 27015, 27016, 3478, 4379, 4380.
I also checked to make sure the firewall is allowing CSGOSL. I tried putting in a command via RconCli, as well as through console within CSGO itself. But it doesn't allow me to use rcon.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEA3F5RL2PIRRH3QE6DRB5DSUQRZFANCNFSM4UY7H2PA .
I actually did try that already, because I was looking through old requests on this github. It didn't work. Not only can I NOT use rcon via the console through CSGO, but I can't even use the RconCli built into csgosl.
As far as the firewall, how exactly do you allow the firewall to free up csgosl. When installing the server, my firewall prompted me to allow csgosl on my private network, in which I allowed it and pressed OK. Is that all I had to do? I opened the firewall and checked the "Allowed apps" section, to make sure it was allowed there, and it was. So I think I did that correctly.
Yup, sounds like you did everything right. Can't say I understand rcon and what makes it tick. Don't know what more to try for now.
On Sun, Dec 13, 2020, 10:57 jbehrmusic notifications@github.com wrote:
I actually did try that already, because I was looking through old requests on this github. It didn't work. Not only can I NOT use rcon via the console through CSGO, but I can't even use the RconCli built into csgosl.
As far as the firewall, how exactly do you allow the firewall to free up csgosl. When installing the server, my firewall prompted me to allow csgosl on my private network, in which I allowed it and pressed OK. Is that all I had to do? I opened the firewall and checked the "Allowed apps" section, to make sure it was allowed there, and it was. So I think I did that correctly.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/295#issuecomment-743981440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEA3F5VO6SJ6N6FCFQWBB7LSUSFUPANCNFSM4UY7H2PA .
I'm curious if anyone got this working. Because I basically cannot do anything after the server starts. I can't change the map, I can't remove bots, I can't load .cfg files, etc.... RCON is used for all of that.
I guess we all got it working at some point in time. Then it suddenly stops working, don't know why, and often the solution is to set the overrideport option in the RconCli tab to e.g. 27016. If it's already set, removing it and restarting seems to work. I have not yet been in a situation where it doesn't work at all.
Guess you're on Windows? And running csgo and csgosl on the same host? Can you enter rcon commands in the csgo game client? Could try completely disabling the Windows firewall just to see if that is somehow blocking after all. Has rcon ever worked before with this installation? If it has, anything special you did before it stopped working?
Yes I am on windows. I have a spare machine that I have installed the server on. Does the spare machine need to have CSGO installed on it, via STEAM? Because I can join the server just fine no problem, but the only thing that doesn't work is RCON. I can try disabling the firewall completely and see what happens. And yes it worked fine in the past.
No, the spare machine doesn't need csgo installed. Ok, so then you have two machines. Completely disabling the windows firewall on the spare machine would be a good starting point.
On Sun, Dec 13, 2020, 20:56 jbehrmusic notifications@github.com wrote:
Yes I am on windows. I have a spare machine that I have installed the server on. Does the spare machine need to have CSGO installed on it, via STEAM? Because I can join the server just fine no problem, but the only thing that doesn't work is RCON. I can try disabling the firewall completely and see what happens. And yes it worked fine in the past.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/295#issuecomment-744059613, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEA3F5SXEX4OSIMWLPZCX43SUUL25ANCNFSM4UY7H2PA .
Ok. Completely disabled the firewall, still doesn't work. And to be clear, I should be able to enter commands in the RconCli tab, correct? For example, in the command box under 'Console', I try to type a command like bot_quota 0, but it says this:
"rcon@192.168.1.8:27015> bot_quota 0 Failed connecting to server 192.168.1.8:27015 (couldn't open socket: connection refused)"
Yes, sure you should be able to enter commands in the RconCli tab. I usually just press one of the buttons, like "Status" or "Stats" in the csgosl RconCli tab to see that the connection works. The only weird thing is I, and many others, have to change the overrideport option in the RconCli tab sometimes to 27016. It happened to me again tonight when I played around with my Windows-installation, had to change to 27016. And now my server no longer shows up under the LAN-tab in the csgo game client, had to add an entry for it in the Favorites tab. These things seem to come and go and I don't understand what happens. I think this is general csgo server issues not related to csgosl.
Just to be absolutely sure about your config, the spare server you're running csgosl/csgo server has ip 192.168.1.8 and server port is 27015, right? The other machine where you run csgo game client is on the same LAN, i.e. probably has an ip like 192.168.1.x?
No chance the csgo server machine has two network cards? There's a Server tab, misc option "bindip" to be used for that case where you can specify the exact ip csgo should bind to. (will add the option -ip
Also, if you want to play around with csgo options you can enter them in the Run tab, the "options" option at the bottom of that tab. What you enter here will be appended to the command line when starting the server. This option could be useful if you find something in some other csgo related thread somewhere and want to try it out. Please report back here if you find a solution.
Solution has been found. I took your advice and went to the Server tab, mic option, and set the "bindip" to the IP of my dedicated machine, which was 192.168.1.8. Thanks for taking the time to help, and if there's a donate option somewhere I'd contribute a small amount for your time.
Hi! Great to hear! So probably you have multiple network cards in that server machine and the csgo server binds to the incorrect IP for some reason. Forcing it to bind to the correct one fixes the problem. Guess I'll keep looking for my problem with my server not showing up in the csgo game client LAN tab :)
If you want to donate something, just click the Paypal button available on all csgosl tabs up to the right, or go here
I guess the issue is still open. I can't use rcon from CSGO, it doesn't give me any errors, though password is right. The server is running on my machine at another location, port forwarding is done via router, server is running on port 27777, I'm able to connect to server, but can't use rcon
" at another location" means "another network", i.e. not LAN? That kind of only adds a parameter to the initial problem of rcon switching ports. I don't know what's going on with rcon, and I don't think it's a csgosl related problem. In your case I would try forwarding the next port 27778 as well and try to connect rcon to that port instead. Don't know why rcon switches ports though.
Also, if you have multiple network cards in the machine hosting the csgo server, try binding to one interface only.
Closing, no response,
When trying to use rcon, I get the error, "Failed connecting to server 192.168.1.8:27015 (couldn't open socket: connection refused)"
I already have the port open on my router. I have opened ports 27015, 27016, 3478, 4379, 4380.
I also checked to make sure the firewall is allowing CSGOSL. I tried putting in a command via RconCli, as well as through console within CSGO itself. But it doesn't allow me to use rcon.