what is my ip address

der.hans PLUGd at LuftHans.com
Sun Aug 30 18:30:58 MST 2020


Am 30. Aug, 2020 schwätzte Michael Butash via PLUG-discuss so:

moin moin,

Looks like that's hitting the website and returning the result. There are
a couple sites like that.

We tend to use icanhazip.com for $dayjob. Very handy to get data from
customers.

Didn't know about the /all option, thanks.

ciao,

der.hans

> So, I often check this in a few ways when bouncing around public internet,
> but I found today a very useful thing I never knew existed.  Curl has a
> native script for checking this vs. pulling up google and typing "what is
> my ip address" or other ways.  I wish I knew this existed since like
> forever.
>
> Might be useful for systems folk, as typically any linux system I'm on
> tends to have curl for other things.
>
> [user at host ~]$ curl ifconfig.me
> x.x.x.x
>
> [user at host ~]$ curl ifconfig.me/all
> ip_addr: x.x.x.x
> remote_host: unavailable
> user_agent: curl/7.71.1
> port: 57676
> language:
> referer:
> connection:
> keep_alive:
> method: GET
> encoding:
> mime: */*
> charset:
> via: 1.1 google
> forwarded: x.x.x.x
>
> HTH!
>
> -mb
>

-- 
#  https://www.LuftHans.com   https://www.PhxLinux.org
#  "The Constitution is not an instrument for the government to restrain the
#  people, it is an instrument for the people to restrain the government -
#  lest it come to dominate our lives and interests." -- Patrick Henry


More information about the PLUG-discuss mailing list