LoginSignup
13
12

More than 5 years have passed since last update.

ターミナルからグローバルIPを確認できるURLたち

Posted at

ときどき必要になるのでメモ。
Stackoverflow を漁ったらけっこう見つかった。

サンプル

多分もっとあるんだろうけど、とりあえず確認範囲で、ある程度安定していたもののみ。

$ curl checkip.amazonaws.com
200.201.202.203

$ curl icanhazip.com
200.201.202.203

$ curl ipecho.net/plain; echo
200.201.202.203

$ curl ident.me; echo
200.201.202.203

$ curl inet-ip.info
200.201.202.203

Whois

参考までに。

13
12
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
13
12