Post Reply  Post Thread 
RCON problem 127.0.1.1
Author Message
MySteRe13
Junior Member
**


Posts: 5
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #1
RCON problem 127.0.1.1

Hi everybody,

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

First, here is my network diagram :



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 ?

01-15-2008 05:25 AM
Find all posts by this user Quote this message in a reply
AdminWorx
SRCDS Funnyman
**


Posts: 11
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #2
RE: RCON problem 127.0.1.1

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
01-15-2008 07:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
MySteRe13
Junior Member
**


Posts: 5
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #3
RE: RCON problem 127.0.1.1

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 ?

This post was last modified: 01-15-2008 07:57 AM by MySteRe13.

01-15-2008 07:56 AM
Find all posts by this user Quote this message in a reply
AdminWorx
SRCDS Funnyman
**


Posts: 11
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #4
RE: RCON problem 127.0.1.1

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
01-15-2008 08:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Dthompson[CT]
Junior Member
**


Posts: 5
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #5
RE: RCON problem 127.0.1.1

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.

01-16-2008 01:01 AM
Find all posts by this user Quote this message in a reply
MySteRe13
Junior Member
**


Posts: 5
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #6
RE: RCON problem 127.0.1.1

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

01-17-2008 03:02 AM
Find all posts by this user Quote this message in a reply
Filoret
Zambuza
***


Posts: 57
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #7
RE: RCON problem 127.0.1.1

try to set in server.cfg
sv_lan 1


from Russia with love
01-17-2008 09:53 AM
Find all posts by this user Quote this message in a reply
Drocona
Forum admin
*******


Posts: 3,981
Group: Administrators
Joined: Mar 2005
Status: Offline
Post: #8
RE: RCON problem 127.0.1.1

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)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
01-17-2008 07:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
MySteRe13
Junior Member
**


Posts: 5
Group: Registered
Joined: Jan 2008
Status: Offline
Post: #9
RE: RCON problem 127.0.1.1

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 ?

Sad:(Sad

01-19-2008 04:47 AM
Find all posts by this user Quote this message in a reply
HBS|Ryan
HotBettyServers.com
***


Posts: 216
Group: Registered
Joined: Mar 2007
Status: Offline
Post: #10
RE: RCON problem 127.0.1.1

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


The Very Best in West Coast CSS
1000fps CSS Servers
http://www.HotBettyServers.com
01-19-2008 05:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
vitiate
Junior Member
**


Posts: 1
Group: Registered
Joined: Apr 2008
Status: Offline
Post: #11
RE: RCON problem 127.0.1.1

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.

This post was last modified: 04-30-2008 09:13 AM by vitiate.

04-30-2008 09:10 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: