LoginSignup
5
5

More than 5 years have passed since last update.

GithubへPushした際の「Connection refused」エラーについて

Posted at

エラー内容詳細

pushすると結果表示がされず3~5分たった後に以下エラー出現

fatal: unable to access 'https://github.com/hogehoge/test.git/'
: Failed to connect to github.com port 443: Connection refused

解決法:Proxyを設定する

自分の場合Proxyの設定された社内環境からpushしていたため
以下のようにGitでProxyの設定をしたところ解決した。

git config --global http.proxy http://proxy.hogehoge.co.jp:8080

参考にしたサイト

https://github.com/npm/npm/issues/10037
http://qiita.com/tunepolo/items/296c2639e0b750de41c6

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5