raw.githubusercontent.com port 443: Connection refused
在mac中安裝brew遇到的問題,即使開啟了VPN也不能正常通過shell下載到對應的檔案
解決思路
可能是域名沒有正確進行轉發,或者由於轉發的過程中跳轉多次導致請求被路由器丟棄,故嘗試hosts指定當前域名跳轉對應的ip。
解決辦法
- 使用站點ip查詢工具,查詢raw.githubusercontent.com域名對應的IP地址
例如: 站長工具 - 修改mac hosts檔案。路徑:/etc/hosts
重新執行對應的指令碼即可。會將訪問raw.githubusercontent.com的請求轉發到對應的ip上。
相關文章
- 解決Mac終端下載報錯 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refusedMacAIGithub
- Failed to connect to raw.githubusercontent.com port 443AIGithub
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- 坑:ssh: connect to host github.com port 22: Connection refusedGithub
- 異常解決——GitLab : ssh: connect to host port 22: Connection refusedGitlab
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- mysql connection refusedMySql
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- IOException in sending Request :: Connection refusedException
- Xlib: connection to ":0.0" refused by server(openSUSE)Server
- FTP Connection refused error 解決辦法FTPError
- Xlib: connection to ":0.0" refused by server 問題Server
- go get報錯connect: connection refusedGo
- Unknown SSL protocol error in connection to xxx:443ProtocolError
- java.net.ConnectException: Connection refused 異常JavaException
- java.sql.SQLException: Io 異常: Connection refusedJavaSQLException
- Linux啟動tomcat後執行shutdown.sh關閉時出現異常:Connection refused (Connection refused)LinuxTomcat
- AS編譯不通過,提示Error:Connection refused: connect編譯Error
- Gradle 編譯不通過 connection refused connectGradle編譯
- Oracle11G監聽報錯Connection refusedOracle
- EJB create時ConnectException: Connection refused to host:....問題Exception
- Solaris SSH 服務處於maintenance模式,ssh connection refusedAINaN模式
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- kubernetes應用flannel失敗 Connection refused.
- oracle listener錯誤Linux Error: 111: Connection refusedOracleLinuxError
- scp時候出現ssh Connection refused的解決方案
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- 【轉載】Xlib: connection to ":0.0" refused by server的解決方法Server
- Xlib: connection to ":0.0" refused by server Xlib: No protocol specified解決方案ServerProtocol
- OGG 同步報錯 - TCP/IP error 111 (Connection refused)TCPError
- 關於出現requests.exceptions.SSLError: HTTPSConnectionPool(host=‘XXX‘, port=443)問題ExceptionErrorHTTP
- Listener refused the connection with the following error:ORA-12514, TNS:listenerError
- telnet localhost 44444 telnet: connect to address ::1: Connection refusedlocalhost
- Connection to https://dl-ssl.google.com refused的解決辦法HTTPGo
- OGG-01223 TCP/IP error 79 (Connection refused)TCPError
- ssh 安裝及登入提示:connection refused的解決辦法
- 阿里雲站點升級提示:OpenSSL SSL_connect: Connection reset by peer in connection to www.pbootcms.com:443阿里boot