Most active commenters
  • kalleboo(4)
  • mazamats(3)
  • jfk13(3)
  • kuroguro(3)
  • gspr(3)
  • nerdponx(3)
  • (3)
  • banana_giraffe(3)
  • knorker(3)

224 points gurjeet | 134 comments | | HN request time: 1.869s | source | bottom
1. mazamats ◴[] No.26633984[source]
I prefer ipinfo.io

You can even lookup info for other up addresses. E.g. https://ipinfo.io/1.1.1.1

replies(2): >>26633994 #>>26634321 #
2. mazamats ◴[] No.26633994[source]
Plus if you use curl, it will return JSON instead of HtML
replies(2): >>26634057 #>>26634323 #
3. klohto ◴[] No.26634057{3}[source]
curl ifconfig.co/json
4. jfk13 ◴[] No.26634076[source]
I don't know where this is pulling data from, but:

> Country United Kingdom

> Country (ISO code) GB

> In EU? true

Well, that's inaccurate for a start.

replies(3): >>26634142 #>>26634202 #>>26634560 #
5. Jonnax ◴[] No.26634142[source]
I presume the reason is GDPR checking.

Has the UK data protection law deviated significantly from GDPR?

replies(2): >>26634250 #>>26634565 #
6. kuroguro ◴[] No.26634202[source]
> I don't know where this is pulling data from

Free version of MaxMind's GeoIP - a lot of services use them but the free version is the most inaccurate. That being said, not sure it's a mistake on the EU thing?

replies(1): >>26634259 #
7. georgiecasey ◴[] No.26634211[source]
Looks great but these services have a tendency to come and go. Bad actors just end up hammering it. But I've been using icanhazip.com for years and it's still going strong.
replies(3): >>26635701 #>>26637190 #>>26637452 #
8. SXX ◴[] No.26634229[source]
If someone want non-rate-limted IP info here is:

https://lumtest.com/myip.json

https://lumtest.com/echo.json

It's powered by largest residential proxy network so they almost certainly never gonna ban your IP.

replies(2): >>26634646 #>>26634965 #
9. raesene9 ◴[] No.26634234[source]
http://icanhazip.com/ is my favourite one of these services, for simplicity and also as I can always remember the URL :)
replies(3): >>26634357 #>>26634947 #>>26636180 #
10. jfk13 ◴[] No.26634250{3}[source]
AFAIK data protection law has not (yet, at least) deviated significantly in the UK vs GDPR.

But if that's the reason, it should be labelled as such: "GDPR applies" or something.

11. jfk13 ◴[] No.26634259{3}[source]
The UK has unquestionably left the EU.
replies(2): >>26634318 #>>26640849 #
12. kuroguro ◴[] No.26634318{4}[source]
Thought the underlying API may mean something else more generic, but no - just running an outdated version https://dev.maxmind.com/release-note/united-kingdom-will-no-...

The free DB has to be re-downloaded monthly IIRC.

13. tyingq ◴[] No.26634321[source]
This one supports other IPs also: https://ifconfig.co/?ip=1.2.3.4

And JSON: https://ifconfig.co/json?ip=1.2.3.4

replies(1): >>26634890 #
14. jodrellblank ◴[] No.26634323{3}[source]
If you use powershell / invoke-restmethod it will return json and get deserialised into a structured object, too.

    PS C:\> irm ipinfo.io

    PS C:\> $x = irm ipinfo.io
    PS C:\> $x.timezone
    Europe/London
Personally, I use http://checkip.dyndns.org/ by habit, with its one-line return.
replies(1): >>26634537 #
15. kuroguro ◴[] No.26634357[source]
I use https://wtfismyip.com/ for similar reasons :)
replies(2): >>26634759 #>>26634994 #
16. psychometry ◴[] No.26634383[source]
Not sure I'd trust the expertise of someone who doesn't know how to redirect to https...
replies(3): >>26634427 #>>26635013 #>>26635317 #
17. teekert ◴[] No.26634416[source]
Nice, I'm gonna miss the chicken [0] though... or not, the IP chicken is very easy to remember.

[0] https://ipchicken.com/

replies(1): >>26634543 #
18. ktpsns ◴[] No.26634427[source]
For a service like this one, it is essential not to automatically redirect to https, because many simple and/or command line clients do not automatically follow (resolve) a HTTP redirect answer.

This service also works perfectly fine with https://ifconfig.co/

19. 4mine ◴[] No.26634476[source]
Here is my favorite. only using DNS:

$ nslookup myip.opendns.com resolver1.opendns.com

replies(2): >>26634719 #>>26638512 #
20. akamhy ◴[] No.26634489[source]
https://ifconfig.me/

$ curl ifconfig.me

129.6.255.60

$ curl ifconfig.me/all

ip_addr: 129.6.255.60

remote_host: unavailable

user_agent: curl/7.68.0

port: 52332

replies(1): >>26634668 #
21. majkinetor ◴[] No.26634537{4}[source]
No it wont, server need to return JSON format itself.

Your example doesn't work. It needs to be:

    irm ipinfo.io/json
Your other example can be get like this:

    irm http://checkip.dyndns.org | % HTML | % body
replies(1): >>26635532 #
22. bombcar ◴[] No.26634543[source]
I prefer the kitten: https://ipkitten.com

(And this ifconfig.co doesn't seem to actually, you know, work which is a big hindrance)

replies(1): >>26645017 #
23. gspr ◴[] No.26634560[source]
Presuming that the "in-EU" is actually meant to refer to "subject to most EU legislation, and in particular the GDPR", then it's incorrect in the opposite way for Norway: it shows false.
24. gspr ◴[] No.26634565{3}[source]
If that is the case, then it's incorrectly showing false for Norway, who as an EEA member is subject to the GDPR.
replies(1): >>26634643 #
25. pluc ◴[] No.26634602[source]
You can also hit v4.ifconfig.co to force ipv4
replies(1): >>26634618 #
26. als0 ◴[] No.26634618[source]
curl v4.ifconfig.co gives me an ipv6 address
replies(1): >>26634800 #
27. drdec ◴[] No.26634643{4}[source]
It is a GitHub project, there's already an issue for the UK:

https://github.com/mpolden/echoip/issues/130

Perhaps you ought to open one for Norway? (I don't think it would be appropriate for me to do it because I am not seeing the issue, not being in Norway.)

replies(1): >>26637271 #
28. koolba ◴[] No.26634646[source]
What is a residential proxy network?
replies(4): >>26634920 #>>26634991 #>>26635048 #>>26638520 #
29. koolba ◴[] No.26634668[source]
Biggest gripe with ifconfig.me is the default cURL response does not include a newline.
30. yakubin ◴[] No.26634693[source]
It's very good that it doesn't redirect to HTTPS. I frequently work with little devices which have a curl/wget version that only supports very basic HTTP, but no HTTPS. It's always a pain to find a website which will work with that.
31. yakubin ◴[] No.26634719[source]
Wow. That's a great idea! nslookup is available on more devices than curl/wget.
replies(2): >>26634879 #>>26635586 #
32. masterofmisc ◴[] No.26634759{3}[source]
just went there.. Oh dear!
replies(1): >>26635582 #
33. nerdponx ◴[] No.26634782[source]
It's great to have services like this.

For the benefit of anyone interested: for a "self-hosted" solution, you can do this entirely within Nginx. Here's an example config:

    server {
      listen 80 default_server;
      listen [::]:80 default_server;

      listen 443 default_server;
      listen [::]:443 default_server;

      # Use Letsencrypt for SSL. This part will depend on your own setup.
      ssl_certificate /etc/letsencrypt/live/<my domain>/fullchain.pem;
      ssl_certificate_key /etc/letsencrypt/live/<my domain>/privkey.pem;

      server_name <my domain>;

      # Deny all access at all paths; useful if you're hosting other stuff behind
      # the same Nginx server (e.g. reverse proxy)
      location / {
        deny all;
      }

      # At /ip, return 200 with the client IP address in the body
      location = /ip {
        default_type text/plain;
        return 200 '$remote_addr';
      }
    }
replies(7): >>26634946 #>>26636981 #>>26637327 #>>26637356 #>>26637665 #>>26637879 #>>26640213 #
34. pluc ◴[] No.26634800{3}[source]
it does for me too... maybe they've changed it or maybe we just don't have a v4 equivalency?
35. e12e ◴[] No.26634879{3}[source]
Put it another way, if you cannot lookup dns, odds are curl won't work. Of course, some nets might require the use of internal dns servers and block outbound traffic to dns.
36. mazamats ◴[] No.26634890{3}[source]
The URL is cleaner with ipinfo.io, don't have to specify GET parameters with it.
37. paxo ◴[] No.26634920{3}[source]
yeah that seems interesting
38. hankchinaski ◴[] No.26634922[source]
is the "Is EU?" flag up-to-date? a UK Ip address yields true, Switzerland one yields false
39. VWWHFSfQ ◴[] No.26634946[source]
this service does a lot more than just return your remote_ip, which wont work behind a load-balancer or other proxy unless you configure realip module. and also need to add geoip module to do all the location stuff
replies(2): >>26635073 #>>26643238 #
40. nubb ◴[] No.26634947[source]
Curl icanhazip.com has become muscle memory for me.
41. kalleboo ◴[] No.26634965[source]
One note is that that one doesn't seem to support ipv6
42. judge2020 ◴[] No.26634991{3}[source]

  $ whois 52.202.152.73
  OrgName:        Amazon Technologies Inc.
I guess Amazon? Would be funny if this actually ran over Amazon Sidewalk but I doubt that.
replies(1): >>26637765 #
43. kalleboo ◴[] No.26634994{3}[source]
This one also shows both your IPv6 and your IPv4 at the same time, which none of the other ones linked in these comments seems to do
replies(1): >>26635325 #
44. kalleboo ◴[] No.26635013[source]
It's not as if your IP address is private information, it's right there in the headers...
45. GoblinSlayer ◴[] No.26635048{3}[source]
https://en.wikipedia.org/wiki/Luminati
46. nerdponx ◴[] No.26635073{3}[source]
Good points both.

That said, do you know of any software library that exposes the Geoip database (or at least Geoip Lite which you one easily obtain for free) in a nice API? Like how a lot of programming languages have tzinfo/tzdata libraries for querying the Tz database.

replies(2): >>26636140 #>>26637406 #
47. saurik ◴[] No.26635242[source]
I mean, if you really really want my IP, you need to at least be asking for microphone or video permissions... otherwise, you are only going to get my default route! I work on a VPN product, and threw this together to get all my IP addresses, VPN be damned ;P. https://rv.saurik.com/wtfip/
48. crazybigdan ◴[] No.26635292[source]
For what it is worth, I have found that the STUN protocol is also an option for discovering this sort of information. There are lists of public stun servers out there [0]. Finding a client is a little more difficult than just using curl, I grant, but not impossible.

[0]: https://gist.github.com/mondain/b0ec1cf5f60ae726202e

49. GoblinSlayer ◴[] No.26635317[source]
Isn't it the user agent's job to support your preferences?
50. throwaway744678 ◴[] No.26635325{4}[source]
Pro of icanhazip.com is that you can curl it directly, it returns your address and nothing else; you don't have to parse the result to get the value, which is a big plus when used in a script:

    curl icanhazip.com
    curl ipv4.icanhazip.com
    curl ipv6.icanhazip.com
replies(4): >>26635490 #>>26635799 #>>26635899 #>>26638577 #
51. plattyp ◴[] No.26635375[source]
I just use the maxmind API directly, which is super cheap and has no rate limit to my knowledge. This site is using the maxmind dataset anyways.

https://dev.maxmind.com/geoip/geoip2/web-services/

replies(1): >>26637902 #
52. theblazehen ◴[] No.26635490{5}[source]
You can curl ifconfig.co as well, uses user agent sniffing to just return the IP
53. JimDabell ◴[] No.26635532{5}[source]
It will work. The server will return JSON. The URL http://ipinfo.io/ returns HTML if the Accept header indicates that you want HTML, and JSON if there is no header, a wildcard header, or a header that requests JSON. As far as I can see, irm doesn’t add an Accept header, so the command jodrellblank provided will fetch JSON and work correctly.
replies(1): >>26635699 #
54. Izkata ◴[] No.26635582{4}[source]
They keep with the theme even in API requests: https://wtfismyip.com/json
replies(1): >>26635959 #
55. john37386 ◴[] No.26635586{3}[source]
I always like to learn new trick. I'm definitely adding this nslookup trick to my IT swiss army knife kit. Thanks
56. majkinetor ◴[] No.26635699{6}[source]
Doesnt work on Windows 10 using latest pwsh
replies(1): >>26636201 #
57. Frost1x ◴[] No.26635701[source]
I tend not to use these sort of services except for quick hack purposes, which I suppose this is exactly designed for. Unfortunately, those needs vary so widely I can't try to keep track of these sort of services and just Google/DDG for something similar when I need it. Unless this pops up on the first page of a Google/DDG search, it's unlikely I'll ever use it.

If the software behind the service is available and looks like it'll be easily usable for years because it has few to no dependancies that are likely to deprecated, I might actually commit the effort to memory and use it for all similar demands, similar to how I keep track of specific CLI *nix tools which I can rest assured, even if there are no updates and potential security issues, most are going to be usable at some future date in a pinch.

replies(1): >>26636007 #
58. kalleboo ◴[] No.26635799{5}[source]
Yeah there are definitely different services for different use cases!
59. yjftsjthsd-h ◴[] No.26635899{5}[source]
curl wtfismyip.com/text

curl wtfismyip.com/json

60. madhato ◴[] No.26635919[source]
Similar service but with a frontend web development focus: https://whatsmybrowser.info/
61. INTPenis ◴[] No.26635933[source]
I know a guy who owns the domain ipa.sh that he intended to use as a replacement for ifconfig.me because it was slow and unavailable a lot.

Referring of course to the new Linux commands "ip a sh". :)

I hope he gets around to deploying it properly some day.

62. anthropodie ◴[] No.26635959{5}[source]
The first thing I read was "yourFuckingISP":"BSNL" and I was like yup that's right. :D
63. EnigmaCurry ◴[] No.26636007{3}[source]
DDG will straight up tell you what your ip/geo location is, just search "ip address"
replies(2): >>26637197 #>>26639442 #
64. cryvate1284 ◴[] No.26636140{4}[source]
Maxmind do APIs for a bunch of language. I've used the python one and it works well (with Lite), but see here their list:

https://dev.maxmind.com/geoip/geoip2/web-services/

replies(2): >>26636438 #>>26641833 #
65. chrismeller ◴[] No.26636180[source]
There are other services he runs as well: https://major.io/icanhazip-com-faq/
66. jodrellblank ◴[] No.26636201{7}[source]
Works on Windows 10 using Windows PowerShell. In Pwsh it does seem to need /json
67. achairapart ◴[] No.26636254[source]
Slightly OT: Some similar services also expose useful data like if IP is a VPN, a threat/bot, hosting provider or ISP, or a proxy.

I always wondered where this info comes from, looking at the similar pattern I presume from the same provider. Is it a premium service from MaxMind or what?

replies(1): >>26642075 #
68. desktopninja ◴[] No.26636399[source]
My 2cents:

  http://checkip.amazonaws.com/

  http://whatismyip.akamai.com/

  dig +short myip.opendns.com @resolver1.opendns.com
replies(1): >>26636509 #
69. ◴[] No.26636407[source]
70. nerdponx ◴[] No.26636438{5}[source]
I should clarify that I was looking for an "offline" API/library that I can use against a local copy of the Lite database, but this is great stuff too.
replies(2): >>26637238 #>>26638565 #
71. Snawoot ◴[] No.26636445[source]
I had some auto-tests for VPN app which were relying on similar web-service to check own IP address. One day service become unavailable and autotests got broken. IIRC it was (https://canihazip.com/s)

I decided to solve this task in a fast and reliable fashion, so I made a tool which discovers own IP address using major public STUN servers: https://github.com/Snawoot/myip

Program issues parallel queries to public STUN servers to determine public IP address and returns result as soon as quorum of matching responses reached.

Works fast and reliable, especially compared to services requiring HTTPS:

  user@dt1:~> time curl https://api.ipify.org
  45.152.165.44
  real 0m2,515s
  user 0m0,030s
  sys 0m0,019s
  
  
  user@dt1:~> time curl ifconfig.co/
  45.152.165.44
  
  real 0m0,131s
  user 0m0,011s
  sys 0m0,008s
  
  
  user@dt1:~> time myip
  45.152.165.44
  
  real 0m0,084s
  user 0m0,012s
  sys 0m0,012s
72. hk1337 ◴[] No.26636509[source]
Both good options but neither does IPv6 AFAIK.

There used to be one at ifconfig.dev but I don’t know what happened to it

replies(1): >>26637136 #
73. ChrisArchitect ◴[] No.26636603[source]
See also

ifconfig.io https://news.ycombinator.com/item?id=17168415

ifconfig.in https://news.ycombinator.com/item?id=4070133

ifconfig.me https://news.ycombinator.com/item?id=6429921

ipinfo.io https://news.ycombinator.com/item?id=5604476

74. ChrisArchitect ◴[] No.26636790[source]
handy thing yeah - I used this like 6 years ago to write some quick bash scripts that would grab dynamic IP changes and send them to cloudflare to update a DNS record and create our own dynamic DNS service!
75. iso8859-1 ◴[] No.26636956[source]
There are a billion hacker-friendly ways to do this: https://unix.stackexchange.com/q/22615/14305
76. enz ◴[] No.26636981[source]
You can even have the JSON version:

    location /json_ip {
        default_type application/json;
        return 200 "{\"ip\":\"$remote_addr\"}";
    }
77. daper ◴[] No.26637136{3}[source]
IPv6: curl http://ipv6.whatismyip.akamai.com curl http://ipv6.whatismyip.akamai.com/advanced

IPv4: curl http://whatismyip.akamai.com curl http://whatismyip.akamai.com/advanced

Both hosts are distributed around the world using the Akamai platform and should be fast for everyone.

78. curryst ◴[] No.26637190[source]
I've been using ipecho.net for a while as well. Just ipecho.net/plain to get your IP back in plaintext. Not affiliated, just what I've been using.
79. azinman2 ◴[] No.26637197{4}[source]
Same with Google “what is my ip”
80. luhn ◴[] No.26637238{6}[source]
Not sure what language you're looking for, but those exist too. Here's a Python one: https://maxminddb.readthedocs.io/en/latest/
81. gspr ◴[] No.26637271{5}[source]
Done, thanks
82. rogerdonut ◴[] No.26637327[source]
This can also be done with HAProxy

    listen whatismyip
        bind :::80 # listen on ipv4/ipv6
        bind :::443 ssl crt /etc/haproxy/ssl/fullchain.pem
        mode http

        http-request return status 200 content-type "text/plain" lf-string "%[src]" if { path /ip }
        http-request return status 200 content-type "application/json" lf-string "{\"ip\":\"%[src]\"}" if { path /json_ip }
        http-request deny
83. banana_giraffe ◴[] No.26637356[source]
Along the same lines, if you want to make your own AWS Lambda /API Gateway version of this:

    def lambda_handler(event, context):
        return {
            'statusCode': '200',
            'headers': None,
            'body': event.get('requestContext', {}).get('identity', {}).get('sourceIp', 'unknown')
        }
I do this, though my lambda is a bit more complex in practice, since I have some triggers that say "if this thing reports a new IP, do something".

Of course, AWS provides this basic service as checkip.amazonaws.com

replies(1): >>26637648 #
84. banana_giraffe ◴[] No.26637406{4}[source]
MaxMind offers a small version of their database API for free:

https://dev.maxmind.com/geoip/geoip2/geolite2/

In practice it's good enough for many purposes. It's actually the version of the database that ifconfig.co uses.

85. jachee ◴[] No.26637452[source]
I've been using ifconfig.me for a decade or more.
86. anonymouse008 ◴[] No.26637648{3}[source]
That's a brilliant way of adding and removing SSH security group rules for digital nomads
replies(1): >>26637744 #
87. 0xbkt ◴[] No.26637665[source]
It is even easier with Caddy's `respond` directive[0], placeholders[1], and automatic HTTPS.

Caddyfile:

  example.com {
      respond "{remote_host}"
  }
[0] https://caddyserver.com/docs/caddyfile/directives/respond

[1] https://caddyserver.com/docs/caddyfile/concepts#placeholders

replies(1): >>26644356 #
88. banana_giraffe ◴[] No.26637744{4}[source]
That's exactly what I use it for. I have a small program on my laptop that makes a request of my lambda every now and then (and if it senses a change of the network). It triggers a change in the firewall rules for a SSH server.

Between that and Mosh, I barely even notice when I change networks.

89. weird-eye-issue ◴[] No.26637765{4}[source]
You are looking at the IP of lumtest.com not the service behind it which is what the OP was referring to.
90. steveharman ◴[] No.26637782[source]
Very sad to say, there is a massive hole in its upkeep with recent events.

In EU? true Region England

91. tgsovlerkhgsel ◴[] No.26637804[source]
I'm happy with https://www.ipify.org/ - supports plaintext and JSON, v4 or v6, etc. via changes to the URL, so it works without having to set custom headers or telling your client to use one or the other.
92. haik90 ◴[] No.26637879[source]
been using this for few years. As far as I know, can't return IPv4/IPv6 only from nginx without using separate server block to enforce one of them
93. kps ◴[] No.26637902[source]
I wish sites would prefer browser-provided location to services like these. I'm constantly being placed in some random city five or six hundred km away, where my ISP also happens to have customers, even though I have Firefox configured to report accurately (geo.provider.network.url = data:application/json,{"location":{"lat":43.5,"lng":-80.5},"accuracy":1000}).
94. rnhmjoj ◴[] No.26638168[source]
I wonder how much more it will take before the answer to "What is my IP address?" will simply be "Look in the settings" or "Just type ip addr in the terminal".

We are so used to NAT that we don't realize how crazy it is that you essentially have to ask a stranger what's your address. It's really difficult to explain this to someone with no networking knowledge. Nothing else works this way: phone numbers, emails or postal addresses.

replies(4): >>26638280 #>>26638286 #>>26638463 #>>26639036 #
95. knorker ◴[] No.26638280[source]
Phone numbers do work that way.
replies(1): >>26638498 #
96. ◴[] No.26638286[source]
97. teawrecks ◴[] No.26638463[source]
Phone numbers, emails, and postal addresses all still route through multiple mediaries between source and dest, and neither end ever know what path it took. In other words, they are MITMed by design. And for these mediums of communication, you want it this way for everyone's safety and sanity.

The only way this works securely with internet packets would be tor.

98. teawrecks ◴[] No.26638498{3}[source]
Are you referring to country code prefixes?

Their point is that you can always give your number to anyone and they can directly use it to contact you. It's never unclear what number to give someone so they can reach you. Yeah calls have to be routed, but routes are implicit, not something you have to worry about as src or dest.

replies(2): >>26638586 #>>26640388 #
99. shaicoleman ◴[] No.26638512[source]
With dig:

$ dig +short @resolver1.opendns.com myip.opendns.com

100. duskwuff ◴[] No.26638520{3}[source]
A wretched hive of scum and villainy.

But seriously, it's basically a front end to a bunch of people who have been incentivized (or fooled) into installing a proxy server on their home computers. It's primarily of interest as a way to make certain types of fraud (like ad fraud and credit card fraud) much harder to detect.

101. cryvate1284 ◴[] No.26638565{6}[source]
If you click through one of the links (e.g. Python) you will see it does allow you to do so!

https://pypi.org/project/geoip2/

102. lytedev ◴[] No.26638577{5}[source]
cURL has flags for this!

        curl -4 icanhazip.com
        curl -6 icanhazip.com
103. rchard2scout ◴[] No.26638586{4}[source]
No, your own phone number.

Say you're at home, you have a landline, and you don't know what your own phone number is. How do you get it? You call someone with caller ID, and ask them to tell you what number you called from.

replies(1): >>26639287 #
104. marcosscriven ◴[] No.26639036[source]
You don’t really have to ask a stranger - you can ask your router, in a similar way you can check the door number on your street.
replies(4): >>26639422 #>>26640496 #>>26640565 #>>26643982 #
105. tomcooks ◴[] No.26639071[source]
Just duck it

https//ddg.gg?q=my+ip

106. cestith ◴[] No.26639287{5}[source]
There are numbers one can call for ANI / ANAC info from a landline. They vary by carrier and sometimes region. MCI has a well-known line that reads back your number.

Of course, I haven't had a land line in years and my cell phones tell me their numbers in the settings.

replies(2): >>26639730 #>>26640413 #
107. spiritplumber ◴[] No.26639356[source]
http://f3.to/ip/ https://f3.to/ip/

in case you just want to import a string. No headers either. (I'm lazy, so this is what I use to get an external IP for my robots)

108. remram ◴[] No.26639422{3}[source]
Ask your router? Is there a generic way to do this, or do you mean "look into its vendor-specific management interface"?
replies(1): >>26639748 #
109. nbk_2000 ◴[] No.26639442{4}[source]
Searching "ip" is enough on DDG. And for Google "my ip" works.
110. elcomet ◴[] No.26639730{6}[source]
Yeah that's exactly asking a stranger to tell you your address
111. the8472 ◴[] No.26639748{4}[source]
NAT-PMP, UPnP-IGD or PCP can be used for that. Home routers usually support at least one of those, but you may have to explicitly enable it.
replies(1): >>26640062 #
112. remram ◴[] No.26640062{5}[source]
3 competing techs... Of course this doesn't suffice in a variety of situations which is why STUN is a thing: https://tools.ietf.org/html/rfc3489
113. ◴[] No.26640213[source]
114. mrlonglong ◴[] No.26640299[source]
It incorrectly reports the UK is in the EU!
115. knorker ◴[] No.26640388{4}[source]
I'm referring to the fact that people don't know their own phone numbers, and instead of reading it, they'll call you and the receiver sees the number.
116. knorker ◴[] No.26640413{6}[source]
They don't always. Sometimes you have to use one of those pound sign codes, but even that sometimes comes up empty.

So like I said, you call someone to get your number. Like how you google what your ip address is.

117. arikaun ◴[] No.26640429[source]
I run eth0.me - a similar service. This might be the IP lookup service with the shortest URL, which is the reason why I run it.

Some anecdotes:

-At the moment the service has 10 GiB of traffic/day. In February, there were 295 476 879 requests.

-Because the service returns only the IP address and nothing else, the requests are larger than the replies.

-At some point a russian ISP began querying eth0.me from (apparently) all of their eyeball routers. Thousands of devices from their address space would query this service every second, which resulted in many Terabytes of traffic monthly. I decided to block their address space.

This service was run by somebody else up until a few years ago. It became more and more unreliable and went offline. At some point I noticed that the domain had expired. I decided to buy it and run it myself.

replies(2): >>26645564 #>>26646575 #
118. tenacious_tuna ◴[] No.26640496{3}[source]
I'm NAT'd, though with an external IP, so the IP my router sees is not the same as what the world sees--while my ISP did provide me this information in an email, it's much faster for me to ask Google or whatnot than to dig the email up.
119. asymptosis ◴[] No.26640565{3}[source]
Assumes:

* You have login access to the router * Your router is directly exposed to the internet * You're not using a VPN

120. PhillyG ◴[] No.26640849{4}[source]
Still uses GDPR though, so perhaps the label really refers to using EU data law save and they've not updated it to reflect this technicality.
121. Gravyness ◴[] No.26641802[source]
and this is why no one will use this substantially EVER: it's down already.

Error 1020 - Access denied

What happened? This website is using a security service to protect itself from online attacks.

122. stevenicr ◴[] No.26641833{5}[source]
I thought maxmind has some kind of terms change that forced account signup and some other issues 'because of some privacy law' like gdpr - maybe the Cali one?

So it has ruined my second favorite wordpress security plugin - and MaxMind not really usable like it once was (?)

123. clusmore ◴[] No.26641916[source]
https://httpstat.us/ and https://readme.localtest.me/ are similarly useful, trivially simple websites that are hacker-friendly.
124. jesterson ◴[] No.26643238{3}[source]
nginx with GeoIP2 module does exactly same for me for years by now.
125. rnhmjoj ◴[] No.26643982{3}[source]
If your ISP is doing a CGNAT, which are becoming more and more common, not even the router knows the public address.
126. BrandoElFollito ◴[] No.26644356{3}[source]
One more reason to love that extraordinary web server. It is really wonderful, sad that it is not more used.

I work in IT (was a sysadmin for years, still administer my own servers) and I hated the configuration of the web servers (first Apache, then nginx) - mostly because I was too lazy to read the docs from beginning to end.

This changed with caddy. It is simple, fast, reliable, HTTPS first with LE. Great.

127. jasonkester ◴[] No.26644465[source]
I miss being able to type “IP” into google and have it just tell you your IP address above the first result.

Now, all you get is a bunch of spammy sites that block you with a captcha then fill the page with ads.

Hopefully his thing rises to the top of the results.

128. nly ◴[] No.26645017{3}[source]
Held my breath and refreshed in the hope that the gif changed with every load. Was not disappointed.
129. tryauuum ◴[] No.26645564[source]
neat, thank you for this service
130. uberswe ◴[] No.26646067[source]
I made something similar but simpler which just returns the IP address. It also supports formats like json https://ipcheck.fun/
131. kmanlives ◴[] No.26646575[source]
I have a similar domain with a 9 character URL that I have been running (wow - I had to look it up!) for 16 years for my own use and for my clients. I have some ddns clients that use it to update their DNS records when their IP changes.

I won't be advertising it here on HN any time soon, though, since it would probably fall over from the traffic. :)

132. billyruffian ◴[] No.26650539[source]
> Country: United Kingdom

> In EU?: true

How very 2019.

133. easybobby ◴[] No.26696348[source]
I was just exploring this the other day. There are so so many ...

http://lumtest.com/myip http://lumtest.com/myip.json http://ip.oxylabs.io http://ip-api.com http://api.ipify.org http://ipinfo.io http://icanhazip.com http://ipaddressm.com https://api.myip.com http://httpbin.org/ip http://bot.whatismyipaddress.com https://ipapi.co/json http://ifconfig.io http://ifconfig.pro http://ipfinfo.fun http://checkip.amazonaws.com http://eth0.me http://ident.me http://ipaddress.sh http://ipfree.info https://iphorse.com/json http://myexternalip.com/json http://wgetip.com http://ip.jsontest.com http://thisip.com http://l2.io/ip https://wtfismyip.com/json http://ipecho.net/plain http://ipgrab.io http://whatismyip.akamai.com http://curlmyip.net http://myip.ipip.net http://checkip.dyndns.com http://ip.anysrc.net https://ip.seeip.org http://ipcalf.com

I guess you can count on the proxy networks, the big companies, and the aged ones. Otherwise take your pick based on what's memorable or short.