我在我托管的远程服务器上安装了git,我希望它成为我的git服务器,并得到开发人员的协作。但是,当我尝试克隆我机器上服务器上的存储库以开始协作时,我得到了以下错误:
并且我的服务器当前没有启用代理和防火墙
git clone https://xxx.xxx.xxx.xxx/home/processador/Download/moveis.git
Cloning into 'moveis'...
fatal: unable to access 'https://xxx.xxx.xxx.xxx/home/processador/Download/moveis.git/':
Failed to connect to xxx.xxx.xxx.xx port 443: Connection refused```发布于 2019-05-05 09:06:45
安装Git并不意味着HTTPS服务器会自动侦听您的请求。
但是,您可能有一个正在运行的sshd (SSH守护进程),这意味着您可以尝试使用sshd,前提是您已经将公钥部署到了正确的远程帐户~/.ssh/authorized_keys。
https://stackoverflow.com/questions/55987882
复制相似问题