SRCDS Steam group


Cannot connect to rcon from client (LAN server)
#1
Server OS: Ubuntu 8.10 64-bit
Processor: Intel Core 2 Duo 6.67GHz
Ram: 2GB
Game(s): Team Fortress 2
Start Up Command: ./srcds_run -console -game tf -tickrate 66 +maxplayers 24 +map ctf_2fort
Admin Mods: None at the moment

I have been working on setting up a TF2 server for an upcoming LAN party I'm helping to run. After having problems trying to run it under Windows I have switched to Linux. The server runs much better with one exception:

I cannot use RCON with this server. Whenever I try to issue a command remotely it says "cannot connect to remote server (192.168.1.2)". This is the IP address of the server as recognized on the network and by Steam. However, in the console at the server end it is listed as 127.0.1.1. In the "Network Tools" settings under Ubuntu it says 127.0.0.1.

If I set the IP manually to any of these three in the command line when starting the server, it will not show up in the game browser (but will if I let the server set it up automatically). Also typing rcon_address to point to any of these three has no affect on the client end (just says "cannot connect to xxx.x.x.x")

I don't have a huge amount of experience with Linux. I have no clue why I have 3 local IP addresses or how they relate to one another. Any help would be appreciated.
Reply
#2
Set +ip to the IP the server is supposed to have on local based.

And -port 27015
Reply
#3
Try "+ip 0.0.0.0".

You don't need -port 27015.
Reply
#4
Just use Source Mod.
A day without fusion is like a day without sunshine.
Reply
#5
Alright, I was having the same issue and I have (finally) been able to solve it. Hopefully this will work for you as well.

First off, you'll want to add the local network IP of your server (i.e. 192.168.1.x) to your srcds_run command:

Code:
./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -tickrate 100 +fps_max 600 +ip 192.168.1.x

Next you will want to add the same local network IP address to your server.cfg file like this:

Code:
rcon_address "192.168.1.x"

Save both files after editing and restart your server. You should now be able to connect to your server with HLSW and via RCON in game.

Best of luck!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)