Cannot connect to my own autohost

Cannot connect to my own autohost

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Cannot connect to my own autohost

Post 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?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Cannot connect to my own autohost

Post by LordMatt »

Are you behind NAT?
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Cannot connect to my own autohost

Post 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?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Cannot connect to my own autohost

Post 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.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Cannot connect to my own autohost

Post 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?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Cannot connect to my own autohost

Post by LordMatt »

I used sed to change script.txt to replace the remote IP with the local one before spring launch.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Cannot connect to my own autohost

Post by REVENGE »

I see, I'll look into this.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Cannot connect to my own autohost

Post by aegis »

the lobby server should do this automatically >_<
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Cannot connect to my own autohost

Post by Peet »

Springie is probably failing to provide its local IP properly.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Cannot connect to my own autohost

Post by LordMatt »

aegis wrote:the lobby server should do this automatically >_<
I'm curious how the lobby server would know the local IP.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Cannot connect to my own autohost

Post by Peet »

All clients are supposed to send it in the LOGIN command.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Cannot connect to my own autohost

Post by LordMatt »

I don't understand. (by local IP I mean e.g. 192.168.x.x)
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Cannot connect to my own autohost

Post by REVENGE »

So to fix this, do I just turn on port forwarding?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Cannot connect to my own autohost

Post by aegis »

or poke licho to figure out your local ip :P
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Cannot connect to my own autohost

Post by REVENGE »

aegis wrote:or poke licho to figure out your local ip :P
:cry:
Post Reply

Return to “Help & Bugs”