FastGithub icon indicating copy to clipboard operation
FastGithub copied to clipboard

git clone is success,but sudo git clone failed

Open Parahoo opened this issue 3 years ago • 1 comments

在 ubuntu 2204中, 设置完 bashrc的 http_proxy 后, 以当前用户权限git clone 是正常的,但是 sudo 执行就会提示Failed to connect to github.com port 443 after 3 ms: 拒绝连接。 修改了/root/.bashrc的http_proxy. 重启电脑后再次执行,现象没有改变。

Parahoo avatar Nov 01 '22 15:11 Parahoo

使用curl https://github.com 也是相同的现象

Parahoo avatar Nov 01 '22 15:11 Parahoo