unable to allocate any listen sockets on host (null) port 9418
我也无法远程克隆。
文件/etc/service/git-daemon/run
:
"$(git --exec-path)"/git-daemon --verbose --base-path=/var/cache/git --detach --syslog --reuseaddr --export-all
netstat -l | grep git
的输出结果:
tcp 0 0 *:git *:* LISTEN
tcp6 0 0 [::]:git [::]:* LISTEN
我目前正在使用sv start/stop
命令行重启服务,并杀死服务进程以确保它被重新加载。
也许我错过了一些非常愚蠢的东西。 非常感谢您的帮助。
ssh
不允许匿名访问。 - Dietrich Epp