Summary: (Gtk) client can't connect to its locally started
Submitted by: None
Submitted on: måndag 2010-03-08 den 17:12 CET
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Originator Email: ulrik.sverd...@gmail.com
Discussion Lock: Any
Operating System: GNU/Linux
I have found the following problem in the official 2.2 release (using 2.2.0-1
from debian unstable, assumed unchanged from original), and in SVN rev r17019
of the S2_2 branch that I compiled.
The gtk client is unable to start local games (where it starts the server and
then connects to it). If I click "Start New Game", the client will just hang
for a long time, until it timeouts ("you have to start the server yourself,
Manually starting the server as 'freeciv-server' simply, then using
'freeciv-gtk2 -a', we meet a "Connection refused" error.
The workaround found is that if I explicitly specify the bind address of the
server, it will connect to it just fine:
/usr/local/bin/freeciv-server -d 3 -b localhost
After this it works. The game plays fine!
I don't know if my hostname configuration is wrong, and if it is related:
$ cat /etc/hostname
$ cat /etc/hosts
127.0.0.1 ulrik-ibook localhost.localdomain localhost
127.0.1.1 ulrik-ibook.lan ulrik-ibook
# deutsche weiterleitung
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
I tried some variations of the hosts file's first two lines, without any
$ host ulrik-ibook
Host ulrik-ibook not found: 3(NXDOMAIN)
$ host localhost
localhost has address 127.0.0.1
2.2 is an amazing version of Freeciv, so many parts of the Game were touched
and improved. I also like the UI reorganization. So big thanks and
congratulations to the devs for accomplishing this release.
Reply to this item at:
Meddelandet skickades via/av Gna!
Freeciv-dev mailing list