threads / discuss / 21439

git-daemon in IPv4 and IPv6 mode

Subject: git-daemon in IPv4 and IPv6 mode

## tl;dr

2 messages between Oct 30, 2009 and Nov 1, 2009.

replies: 1people: 2as markdown or json

Sebastian Pipping· Oct 30, 2009, 21:10 UTC · lore
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· Nov 1, 2009, 21:11 UTC · re: Sebastian Pipping · lore

Re: git-daemon in IPv4 and IPv6 mode

* 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

← back to recent threads