报错:Failed to connect to raw.githubusercontent.com port 443: Operation timed out
liukeruideMacBook-Pro:~ liukerui$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation timed out
liukeruideMacBook-Pro:~ liukerui$
解决方案
原因
由于某些你懂的因素,导致GitHub的raw.githubusercontent.com域名解析被污染了。
查询真实IP
在https://www.ipaddress.com/ 查询 raw.githubusercontent.com的真实IP。
修改Host
199.232.28.133 raw.githubusercontent.com