“curl: (7) Failed to connect to xxx port 443: Connection refused”解决办法
·
“curl: (7) Failed to connect to xxx port 443: Connection refused”解决办法
mac系统下解决方案
第一步:打开网站https://www.ipaddress.com/
搜索xxx,我这里演示的是Bit.ly,得到ip地址:67.199.248.10(选一个即可)
第二步:替换系统的host文件
这里由于是系统文件需要复制一份出来修改。

把 67.199.248.10 bit.ly 放在文件最后保存,最后再替换掉原本的。
第三步:执行你要执行的命令就可以了
更多推荐


所有评论(0)