Follow-up Comment #3, bug #23392 (project freeciv):
> bind(3, {sa_family=AF_INET, sin_port=htons(5557),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
> ...
> bind(4, {sa_family=AF_INET, sin_port=htons(5557),
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address already in
use)
So it's trying to bind to the same address twice.
> Problem is the --bind localhost
> --bind 127.0.0.1 does start
> I have compiled with ipv6=no
> ~$ grep localhost /etc/hosts
> 127.0.0.1 localhost
> ::1 localhost ip6-localhost ip6-loopback
I can reproduce on Ubuntu 14.04 with Freeciv 2.5.0 compiled with
"--enable-ipv6=no" (but HAVE_GETADDRINFO defined) with /etc/hosts having
entries for "localhost" mapping to both 127.0.0.1 and ::1, but not with my
standard /etc/hosts (where localhost only names 127.0.0.1).
What system/distribution are you running on?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23392>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev