I've got Git running on my Debian server and then installed git-daemon so that I can do public clones via the git protocol. The daemon is running, but whenever I do a clone it errors out:
$ git clone
git://myserver.net/home/git/ehsa/omega_ehsa
Cloning into omega_ehsa...
electricjet.net[0: 66.228.55.188]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
If I run git daemon on the server I get:
$ git daemon
fatal: unable to allocate any listen sockets on port 9418
But yet everything appear to be listening properly:
$ sudo netstat -an | egrep 'Proto|LISTEN'
[sudo] password for tim:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:9418 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp6 0 0 :::9418 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN
I've been Googling for hours on this and am at a loss -- anybody have an idea here?