[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: davautocheck - "(98)Address already in use: make_sock: could not bind to address 127.0.0.1:xxxx"

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 15 Jan 2010 12:40:40 +0000

Philip Martin wrote:
> Philip Martin <philip.martin_at_wandisco.com> writes:
>
> > I get the same error as you on Ubuntu, strace shows it trying to bind
> > twice to the same socket. I can get it to work by deleting localhost:
> > from the Listen statement in the config file to just leave the port
> > number: "Listen 19574".
>
> It also works with an explict 127.0.0.1 instead of localhost. I think
> the problem is related to fact that
>
> $ host localhost
> localhost has address 127.0.0.1
> localhost has address 127.0.0.1
> Host localhost not found: 3(NXDOMAIN)
>
> returns two lines with the same address. On my debian box there is
> only one line (plus an ipv6 line).

On my Ubuntu:

  $ host localhost
  localhost has address 127.0.0.1
  localhost has IPv6 address ::1

- Julian
Received on 2010-01-15 13:41:19 CET

This is an archived mail posted to the Subversion Dev mailing list.