05-01-2011, 03:02 PM
My dedicated server runs on the same machine I play on. I had to do this unfortunately since I dont have another box and a certain sourcemod plugin required Dedicated servers to work.
Everything is working fine. EXCEPT, when players try to join via my friends list, my game client has reported to steam that i'm playing on my own local ip. As a result, they try to join 192.168.2.* which obviously doesn't work. The only way to get them in game is to give them the connect [External IP] or have them be there in the lobby.
How can i change my client to tell steam that i'm playing on my external ip? my router supports loopback, so I can connect to my own server from external ip, but this doesn't change anything. My client still resolves the internal ip as the IP that it should report to my friends via steam.
Does anyone know how i can fix this? Does this happen because i'm on the same network as my server? or is it because i'm on the same machine as the server?
Thanks in advance, i'd really appreciate it if I could get this sorted out...
I'm fairly sure that listen servers automatically gives your friends list the correct IP. I need it to do it for dedicated servers, even though i'm using mine in an unlikely scenario.
Everything is working fine. EXCEPT, when players try to join via my friends list, my game client has reported to steam that i'm playing on my own local ip. As a result, they try to join 192.168.2.* which obviously doesn't work. The only way to get them in game is to give them the connect [External IP] or have them be there in the lobby.
How can i change my client to tell steam that i'm playing on my external ip? my router supports loopback, so I can connect to my own server from external ip, but this doesn't change anything. My client still resolves the internal ip as the IP that it should report to my friends via steam.
Does anyone know how i can fix this? Does this happen because i'm on the same network as my server? or is it because i'm on the same machine as the server?
Thanks in advance, i'd really appreciate it if I could get this sorted out...
I'm fairly sure that listen servers automatically gives your friends list the correct IP. I need it to do it for dedicated servers, even though i'm using mine in an unlikely scenario.