SRCDS Steam group


RCON problem 127.0.1.1
#1
Hi everybody,

I've a problem and can't solve it by reading existing threads...

First, here is my network diagram :
[Image: srcds.jpg]


My SRCDS runs (and works) on Ubuntu 6.06. This is for an Internet and LAN use. Using sv_lan 0. Players from the internet can join the server. Port forwarding is OK.

POINT 1
./srcds_run -game cstrike -map de_dust2
Using default IP address. The server starts, I can see it in steam's LAN servers and i can join it. I can't use the rcon commands (Unable to connect...) and the status command tell me that the server IP address is 127.0.1.1 (instead 192.168.1.4)

POINT 2
./srcds_run -game cstrike +ip 192.168.1.4 -map de_dust2
Forcing server IP address. The servers starts and works, but I can't show it in the steam's LAN servers. I can join it by using the command "connect 192.168.1.4:27015" and by this way, I can use rcon commands.

So, I need to have a visible server in the LAN list and I need to use RCON commands. I already try to set an rcon_address in my server.cfg but it doesn't work. I thinks the problem comes form 127.0.1.1. I don't know what is this. Maybe a Ubuntu property ?
Reply
#2
Showing that 127.0.1.1 address should be fine.

You may need to re-investigate your port forwarding.
Since you are running as an internet server, you want to avoid using point 2.

Ideally you should be able to query your server from something like gametracker.com when it is up, by using your WAN IP (http://www.ipchicken.com) (http://www.whatismyip.com)

You cannot use the rcon commands while in the server?
Find customized help when needed at http://www.AdminWorx.com
Reply
#3
AdminWorx Wrote:Showing that 127.0.1.1 address should be fine.

You may need to re-investigate your port forwarding.
Since you are running as an internet server, you want to avoid using point 2.

Ideally you should be able to query your server from something like gametracker.com when it is up, by using your WAN IP (http://www.ipchicken.com) (http://www.whatismyip.com)

You cannot use the rcon commands while in the server?

Hi,

Thanks for your answer.

Now, I'am using point 1.

I can see my server on gametiger.com by name or IP search.
But, in the console :
Console Wrote:rcon_password mypass
Unable to connect to remote server (192.168.1.4:27015)
or
Console Wrote:rcon_address WAN_IP
rcon_password mypass
Unable to connect to remote server (WAN_IP:27015)

I don't understand why... What is the rcon specific port ?

Otherwise, is there any others way to admin a server ?
Reply
#4
Two things. Make sure port 27015 UDP and TCP is forwarding to 192.168.1.4.

Secondly, add +ip (your ipchicken address) into point 1.

If all else fails, try setting a DMZ in your router for 192.168.1.4 just to see if it works. If it does, you can determine it is your router.
Find customized help when needed at http://www.AdminWorx.com
Reply
#5
Please also note that you'll need to make sure that udp and tcp (both) are selected as well when making changes to your router.

David T.
Reply
#6
AdminWorx Wrote:Two things. Make sure port 27015 UDP and TCP is forwarding to 192.168.1.4.

Secondly, add +ip (your ipchicken address) into point 1.

If all else fails, try setting a DMZ in your router for 192.168.1.4 just to see if it works. If it does, you can determine it is your router.

Hi,

Same problem by setting a DMZ Sad

I can't set +ip WAN_IP :
Console Wrote:WARNING: NNET_Opensocket: bind: Cannot assign requested address
Couldn't allocate dedicated server UDP port
Reply
#7
try to set in server.cfg
sv_lan 1
from Russia with love
Reply
#8
You can't bind the WAN IP since that's owned by the router, you have to set the LAN ip or set nothing.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#9
By setting sv_lan to 1 and +ip 192.168.1.4, rcon works....but why is my server not visible in the LAN list ??

it's a lan server, in my lan, with sv_lan 1, with a lan ip...but not in the lan list....wtf ?

SadSadSad
Reply
#10
in the past, i have set a local server on my home network to my wan ip and it made everything work: rcon, lan list, and showed up online.

Also when forwarding ports i would do 27000 - 27030 udp and tcp
Reply
#11
I have pretty much the exact same issue. I have the same configuration as the first post (except IP address are 192.168.2.2 for client and 192.168.2.4 for server)

Now, this set up worked fine under Windows 2003. I could connect to the server from the steam browers LAN list, and players on the WAN could connect and rcon would work, all great. I've now moved to Debian (For those that don't know, pretty much the same as Ubuntu) and now I can see the server from the WAN and LAN, but I get the "unable to connect to rcon" error when I try the rcon command.

(I might be muddled up) but I know RCON uses TCP 27015 and the game uses UDP 27015. Whats the issue? This is really annoying.

The same problem is present for all HL2 games and is most certainly linux specific.
Reply
#12
hey,
sorry for digging up an old thread, but I had the exact same problem with my LAN server running on Debian 5.0 and have been trying to fix it for quite a while and not a single one of the 1000 solutions I found fixed it.
Just for the case that anyone else is going to find this thread via google, like I did, here is my awesome solution:

add +ip 0.0.0.0 to the the startup parameters. rcon is now working fine and the server is visible in the server list. Smile

hope I helped someone,
bye Smile
Reply
#13
127.0.0.1 is your loopback, not 127.0.1.1

Actually, 127.0.1.1 ALSO loops back...
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#14
I signed up for an account simply to offer my thanks to everyone who posted here.

Many thanks first to MySteRe13 for posting this issue so concisely. Second, many many kudos to msu for the resolution. This is the exact problem I had with my Ubuntu HL2DM server. Binding the server to 0.0.0.0 works perfectly. Too bad I didn't find this thread 4 hours ago.
Reply
#15
msu Wrote:hey,
sorry for digging up an old thread, but I had the exact same problem with my LAN server running on Debian 5.0 and have been trying to fix it for quite a while and not a single one of the 1000 solutions I found fixed it.
Just for the case that anyone else is going to find this thread via google, like I did, here is my awesome solution:

add +ip 0.0.0.0 to the the startup parameters. rcon is now working fine and the server is visible in the server list. Smile

hope I helped someone,
bye Smile

Excellent job. I've been looking for a solution for this for a long time and almost gave up. THANK YOU!!! PS: I'm Running Ubuntu 2.6.27-9-server 64 bit in case anyone cares.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)