Friends list shows server IP as first IP in tcp/ip settings

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
joshtrav
A semi-regular
A semi-regular
Posts: 20
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Sep 03, 2009 12:47 am

Friends list shows server IP as first IP in tcp/ip settings

Post by joshtrav »

I am curious if anyone else has ever run into this. Occasionally the servers on our dedicated all show up as the first IP in the declared IPs. When you view status is console, and connect to them, they show the correct IP. However, when you view someone on friends (view game) it always shows the base IP.

Any thoughts or solutions for this?
User avatar
TimeX
Staff
Staff
Posts: 1795
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by TimeX »

It sounds like the IP binding may not be set correctly. What types of servers are these?
TimeX
joshtrav
A semi-regular
A semi-regular
Posts: 20
Joined: Thu Sep 03, 2009 12:47 am

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by joshtrav »

SRCDS - CS:S and TF2

I have -ip xx.xx.xx.xx in for the command line option as well as ip xx.xx.xx.xx in the autoexec.cfg

In status it says UDP/IP xx.xx.xx.xx, then public ip yy.yy.yy.yy, so somehow my public IP is getting the wrong info.

After typing this out I figure its prob due to -ip and not +ip... Sigh..
User avatar
TimeX
Staff
Staff
Posts: 1795
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by TimeX »

The correct way should be -ip if I am not mistaken, but switching it to +ip is worth trying.
TimeX
User avatar
Edge100x
Founder
Founder
Posts: 13128
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by Edge100x »

For Source/OB, -ip on the command line is correct. Don't include it elsewhere (such as in the autoexec.cfg), and make sure that it's early in the command line (such as the first thing).
joshtrav
A semi-regular
A semi-regular
Posts: 20
Joined: Thu Sep 03, 2009 12:47 am

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by joshtrav »

Edge100x wrote:For Source/OB, -ip on the command line is correct. Don't include it elsewhere (such as in the autoexec.cfg), and make sure that it's early in the command line (such as the first thing).
I am at a loss. I did this as you mentioned, and it still occurs. I am hosting apache on the box as well, but to me that should have no impact.

In the status log it is still doing the
UDP/IP xx.xx.xx.xx, then public ip yy.yy.yy.yy
Anything else you could possibly suggest? I should also mention it always defaults the public IP to the default ip listing on network connection tcp/ip setting when it does occur.
joshtrav
A semi-regular
A semi-regular
Posts: 20
Joined: Thu Sep 03, 2009 12:47 am

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by joshtrav »

Sorry I can no longer edit the post. I also noticed when typing ip in the console while the server is running, it gives
xx.xx.xx.xx (def. localhost)
User avatar
Edge100x
Founder
Founder
Posts: 13128
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by Edge100x »

Do you have any sort of firewall/NAT/proxy enabled?

I've never seen this happen here, which makes it harder for me to suggest what else you might try.
joshtrav
A semi-regular
A semi-regular
Posts: 20
Joined: Thu Sep 03, 2009 12:47 am

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by joshtrav »

I don't believe so.

I had toyed with MMC rules at one point, but I unassigned them months ago.
User avatar
Edge100x
Founder
Founder
Posts: 13128
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by Edge100x »

It's worth double-checking. Also, is the other IP pingable and usable? Can you connect to it via RDP?
joshtrav
A semi-regular
A semi-regular
Posts: 20
Joined: Thu Sep 03, 2009 12:47 am

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by joshtrav »

Yes to both, and I can use connect 64.74.97.130 in the console in CS:S to connect as well. However clicking on server info on a friend shows it as the base IP for the server.

I have been googling it off and on for weeks with no real hits.
User avatar
Edge100x
Founder
Founder
Posts: 13128
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Friends list shows server IP as first IP in tcp/ip setti

Post by Edge100x »

What is your full command line, and where are you running the server from? Is this a Linux or Windows server? If Windows, do you have a Steam client installed, and have you tried entirely removing it from the machine?
Post Reply