0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

EC2にSSH接続しようとしたら「接続がタイムアウトしました」と表示された

Posted at

AWSの学習で作成したEC2にteratermからSSH接続しようとすると以下の表示が

「接続がタイムアウトしました」

image.png

原因

対象のインスタンスに紐づけたセキュリティグループのインバウンドルールのソースを「マイIP」にしていたのだが、利用しているPCのIPアドレスが変わっていた

解消

EC2 > セキュリティグループ > 対象のセキュリティグループ > インバウンドのルール に移動
再度ソースで「マイIP」を選択しなおす
image.png

おわり

そういえばVPNつけたり消したりしてたかも・・・

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?