# git-daemon in IPv4 and IPv6 mode

2 messages from 2009-10-30 to 2009-11-01. Participants: Sebastian Pipping, Vineet Kumar.
Thread: https://gitlist.dev/t/21439

## Sebastian Pipping, 2009-10-30 21:10

Subject: git-daemon in IPv4 and IPv6 mode
Message-ID: <4AEB5640.1010708@hartwork.org>
URL: https://gitlist.dev/e/4AEB5640.1010708%40hartwork.org

```
hello!


it seems like the git daemon cannot bind to both IPv4 and IPv6 at the
same time, yet.  if that's true either ipv4 or ipv6 people are standing
in the rain unless i run two instances of the daemon in parallel.

is supporting both in a single instance planned or possible already?  if
so: how?

thanks in advance,



sebastian

```

## Vineet Kumar, 2009-11-01 21:11

Subject: Re: git-daemon in IPv4 and IPv6 mode
Message-ID: <loom.20091101T220400-570@post.gmane.org>
URL: https://gitlist.dev/e/loom.20091101T220400-570%40post.gmane.org
In-Reply-To: <4AEB5640.1010708@hartwork.org>

```
* Sebastian Pipping <webmaster <at> hartwork.org> writes:
> it seems like the git daemon cannot bind to both IPv4 and IPv6 at the
> same time, yet.

It doesn't seem that way here.  I just tried to run a git-daemon and
it listened by default on 0.0.0.0:9418 (v4) and :::9418 (v6).  I could
connect using either v4 or v6.  Is yours behaving differently?

Have a look at the output from "strace -ebind,socket,listen ./git-daemon".

Vineet

```
