On Tue, Jul 07, 2009 at 11:16:46PM -0500, Itai Seggev wrote: > It seems that the problem is that pioneers (or some underlying library) is > only > trying the first address returned by getaddrinfo. I have localhost as > pointing > to both 127.0.0.1 and ::1 (I don't think I did this. Did the debian installer > do this?). When the ai attempts to connect to the server, it tries to connect > to ::1 and fails. However, if I telnet to localhost 5556, telnet finds > 127.0.0.1 and connects successfully. (See output below.) Removing localhost > from ::1 or making getaddrinfo prefer ipv4 addresses fixes the issue, but > really pioneers should be able to deal with multiple addresses.
> 117:cavy-v4:~> pioneersai -n asdf > ai port is 5556 > 18:55:25 - Type of computer player: greedy > 18:55:25 - Connecting to localhost, port 5556 > 18:55:25 *ERROR* Error connecting to host 'localhost': Connection refused > 118:cavy-v4:~> telnet localhost 5556 > Trying ::1... > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > version report > ^] > telnet> close > Connection closed. The real problem is that pioneersai is IPv6-capable, and pioneers-server is not. The latter should be corrected. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org