Oh My Zsh安装失败拒绝连接问题:Failed to connect to raw.githubusercontent.com port 443: Connection refused
1.打开官网https://ohmyz.sh/2、终端输入:sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"3、网络拒绝访问:sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tool
·
1.打开官网https://ohmyz.sh/
2、终端输入:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
3、网络拒绝访问:
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
4、解决办法
查询IP
去这里https://site.ip138.com/ ,输入raw.githubusercontent.com 进行查询:
5、配置hosts:

6、再次执行:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
成功:
更多推荐
所有评论(0)