Page 1 of 1
Cannot connect to my own autohost
Posted: 23 Jul 2008, 22:16
by REVENGE
I've never been able to play or spec in a game run by my autohost. I always get a dns error, with a buch of hex codes after. Any solution to this?
Re: Cannot connect to my own autohost
Posted: 24 Jul 2008, 05:05
by LordMatt
Are you behind NAT?
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 11:33
by REVENGE
Possibly behind a firewalled router. Should I enable some portforwarding?
Also, why can't my game client just be directed to connect to localhost?
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 17:28
by LordMatt
REVENGE wrote:
Also, why can't my game client just be directed to connect to localhost?
Well, I have run into this issue and had to add some sed lines to my wrapper script for spring to convert the IP I am trying to connect to from the remote IP to the correct local one when I connected to my own autohost. Dunno how you would do this on windows though.
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 21:58
by REVENGE
Could probably setup some kind of connection filter or something equivalent. No shortage of those kinds of utilities in Windows. How did you do yours btw?
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 22:00
by LordMatt
I used sed to change script.txt to replace the remote IP with the local one before spring launch.
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 22:24
by REVENGE
I see, I'll look into this.
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 23:08
by aegis
the lobby server should do this automatically >_<
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 23:13
by Peet
Springie is probably failing to provide its local IP properly.
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 23:55
by LordMatt
aegis wrote:the lobby server should do this automatically >_<
I'm curious how the lobby server would know the local IP.
Re: Cannot connect to my own autohost
Posted: 27 Jul 2008, 23:58
by Peet
All clients are supposed to send it in the LOGIN command.
Re: Cannot connect to my own autohost
Posted: 28 Jul 2008, 01:09
by LordMatt
I don't understand. (by local IP I mean e.g. 192.168.x.x)
Re: Cannot connect to my own autohost
Posted: 28 Jul 2008, 02:25
by Peet
Re: Cannot connect to my own autohost
Posted: 28 Jul 2008, 02:58
by REVENGE
So to fix this, do I just turn on port forwarding?
Re: Cannot connect to my own autohost
Posted: 28 Jul 2008, 19:31
by aegis
or poke licho to figure out your local ip

Re: Cannot connect to my own autohost
Posted: 28 Jul 2008, 20:43
by REVENGE
aegis wrote:or poke licho to figure out your local ip

