LoginSignup
0
0

More than 1 year has passed since last update.

EC2インスタンスの通信状態をpingコマンドで調べる。セキュリティグループでインバウンドルールの設定が必要。

Posted at

EC2インスタンスの通信状態をpingコマンドで調べたところ、タイムアウトになった。

ping.JPG

ブラウザからアクセスすることはできる。

解決方法

セキュリティグループのインバウンドルールで下記の設定をして、pingコマンドによる通信を許可する。

  • タイプ 全てのICPM-IPv4
  • リソースタイプAnywhere-IPv4
  • ソース 0.0.0.0/0

inbound.JPG

結果

pingok.JPG

pingコマンドで通信できた。

参考: [AWS] EC2インスタンスをpingで確認できるようにする

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