1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

EC2でrbenvをインストール中のエラー

Posted at

#エラー内容

このコマンドを入力しても・・・

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv

こんな感じで読み込めませんよーと言われてしまう

Cloning into '/home/mohupor03/.rbenv'...
fatal: unable to access 'https://github.com/sstephenson/rbenv.git/': Failed to connect to github.com port 443: Connection timed out

#解決
どうやらAWSのセキュリティグループのアウトバウンドルールが弾いているらしい

1.awsから使用中のセキュリティグループを選択
2.アウトバウンドルールの設定を編集
3.タイプを「全てのトラフィック」に変更

これで先ほどのコマンドを入力するとコマンドは通るのだが
無事インストールができたらHTTPに戻すのが適策だと思う

1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?