解決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
- 解決 Android studio Connect to 127.0.0.1:[/127.0.0.1] failed: Connection refusedAndroid127.0.0.1AI
- 異常解決——GitLab : ssh: connect to host port 22: Connection refusedGitlab
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- go get報錯connect: connection refusedGo
- 坑:ssh: connect to host github.com port 22: Connection refusedGithub
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- 解決telnet: connect to address 127.0.0.1: Connection refused的錯誤資訊問題127.0.0.1
- 解決 ssh connect to host github.com port 22 Connection timed outGithub
- nameko shell 報錯 : [Errno 111] Connection refused
- OGG Director報錯 Connection FAILEDAI
- telnet localhost 44444 telnet: connect to address ::1: Connection refusedlocalhost
- nacos Connection refused (Connection refused)
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- SQLServer映象報錯Connection handshake failedSQLServerAI
- ubuntu ssh: connect to host ** port 22: Connection refused ssh登入遠端伺服器時提示Permission denied (publickey,password)Ubuntu伺服器
- docker phpmyadmin 連線宿主mysql資料庫報錯:mysqli::real_connect(): (HY000/2002): Connection refusedDockerPHPMySql資料庫
- SSH出現Connection refused錯誤
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- android網路連線除錯 failed to connect to /10.0.2.2 (port 80) after 10000msAndroid除錯AI
- 使用putty遠端登入Ubuntu時,報Network error:Connection refused錯誤及解決(記錄)UbuntuError
- wsl docker 安裝frp內網穿透出現error: dial tcp 127.0.0.1:xxxx: connect: connection refused解決方法DockerFRP內網穿透ErrorTCP127.0.0.1
- (20200916 Solved)Docker||redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refusedDockerRedis127.0.0.1
- 阿里雲站點升級提示:OpenSSL SSL_connect: Connection reset by peer in connection to www.pbootcms.com:443阿里boot
- SQLServer搭建域控下映象報錯Connection handshake failedSQLServerAI
- idea報錯資料庫connection refused【杭州多測師_樹哥】Idea資料庫
- unable to access ‘https://gitee.com/XXX/XXX.git/‘: Failed to connect to 127.0.0.1 portHTTPGiteeAI127.0.0.1
- mac scrcpy 報錯 does not exist or is not a regular file,ERROR: Server connection failed(scrcpy mac與極空間衝突)MacErrorServerAI
- 連線mysql報錯lost connect to sever during query解決MySql
- JMETER java.net.SocketException: Connection reset 報錯解決方案JMeterJavaException
- 解決 React-Native mac10.14.4 執行報錯 error Failed to build iOS projectReactMacErrorAIUIiOSProject
- lua 中連結 Redis 使用域名報錯 failed to connect: no resolver defined to resolveRedisAI
- PHP curl error 60 錯誤解決PHPError
- pa_simple_new() failed: Connection refused ubuntu 開啟root使用者的聲音AIUbuntu
- org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection 解決辦法SpringFrameworkJDBCOTGExceptionAI
- 解決MySql報錯:1130 - Host ‘xxx‘ is not allowed to connect to this MySQL server的方法MySqlServer
- Jedis 連線 Redis報JedisConnectionException: java.net.ConnectException: Connection refusedRedisExceptionJava