一.前言
Gihhub個人博客在搭建遇到問題,
二.問題描述
問題代碼:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
三.解決辦法
通過IPAddress.com首頁,輸入raw.githubusercontent.com查詢到真實IP地址:

- Windows系統:
hosts檔案路徑:
追加內容:c:/windows/system32/drivers/etc/
用管理員模式改完保存,重啟電腦即可,199.232.68.133 raw.githubusercontent.com - Mac OS 系統:
打開終端(Terminal),默認位置在 啟動臺–>其他–>終端
在終端輸入以下命令:sudo vi /etc/hosts
同樣在尾部追加內容:i 修改199.232.68.133 raw.githubusercontent.com
即可,:wq
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/46715.html
標籤:其他
上一篇:小白菜求大佬指教
下一篇:易語言【熱血傳奇輔助制作教程】
