解決Mac終端下載報錯 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
一、錯誤來源
在下載node.js包管理工具時發現居然連線不上地址,錯誤如下:
二、分析與解決
1、測試連結
經過測試,發現連線不上,訪問被拒絕。
2、查詢網址資訊
網站IP地址查詢連線:https://githubusercontent.com.ipaddress.com/raw.githubusercontent.com
查詢結果如下:
3、配置hosts
使用的軟體是SwitchHosts,SwitchHosts 一個修改、管理、切換多個 hosts 方案的開源工具。
下載地址:https://oldj.github.io/SwitchHosts/#cn
4、結果
重新輸入命令,下載nvm工具成功。
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
相關文章
- raw.githubusercontent.com port 443: Connection refusedGithub
- Failed to connect to raw.githubusercontent.com port 443AIGithub
- 異常解決——GitLab : ssh: connect to host port 22: Connection refusedGitlab
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- 解決 Android studio Connect to 127.0.0.1:[/127.0.0.1] failed: Connection refusedAndroid127.0.0.1AI
- 坑:ssh: connect to host github.com port 22: Connection refusedGithub
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- 11G dbconsole 報錯處理: WARN http: snmehl_connect: connect failed to (ehrprod:1158): Connection refusedHTTPAI
- 解決telnet: connect to address 127.0.0.1: Connection refused的錯誤資訊問題127.0.0.1
- 解決 git push Failed to connect to 127.0.0.1 port 45463: 拒絕連線GitAI127.0.0.1
- 【轉載】Xlib: connection to ":0.0" refused by server的解決方法Server
- FTP Connection refused error 解決辦法FTPError
- Oracle11G監聽報錯Connection refusedOracle
- OGG Director報錯 Connection FAILEDAI
- AS編譯不通過,提示Error:Connection refused: connect編譯Error
- Gradle 編譯不通過 connection refused connectGradle編譯
- SQLServer映象報錯Connection handshake failedSQLServerAI
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- 使用putty遠端登入Ubuntu時,報Network error:Connection refused錯誤及解決(記錄)UbuntuError
- Xtrabackup備份報錯Failed to connect to MySQL serverAIMySqlServer
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- OGG 同步報錯 - TCP/IP error 111 (Connection refused)TCPError
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- 解決Xmanager-AIX XDMCP Connection failedAI
- mysql connection refusedMySql
- scp時候出現ssh Connection refused的解決方案
- telnet localhost 44444 telnet: connect to address ::1: Connection refusedlocalhost
- Xlib: connection to ":0.0" refused by server Xlib: No protocol specified解決方案ServerProtocol
- SQLServer搭建域控下映象報錯Connection handshake failedSQLServerAI
- 解決 connect to host github.com port 22 operation timed outGithub
- android網路連線除錯 failed to connect to /10.0.2.2 (port 80) after 10000msAndroid除錯AI
- Connection to https://dl-ssl.google.com refused的解決辦法HTTPGo
- ssh 安裝及登入提示:connection refused的解決辦法
- JMETER java.net.SocketException: Connection reset 報錯解決方案JMeterJavaException
- PHP curl error 60 錯誤解決PHPError
- VMware 啟動報錯 "Failed to lock the file"解決辦法AI
- oracle listener錯誤Linux Error: 111: Connection refusedOracleLinuxError
- mac Pro 安裝scrapy報錯解決Mac