I have tried it. At least on Mac it isn't so great. It did work, however, I get a spinning beach ball of death (app freeze) for a full 35 seconds when I execute it. Maybe if isolated in a thread or something it could be okay if you don't need to use the IP for 35 seconds or so after opening your app. Also, it may work a bit better when the HTTP component of Synapse or Lnet is used instead of fpHTTPclient, which I'd be interested to see.
It's not the library problem IMO, using any library would be the same since the base, lowest functionality used is the same (RTL sockets unit). You can try using another website like
http://ifconfig.me/ip.
@User137:
ipconfig doesn't show external ip, external ip is inaccessible from the computer, since it's the router who managed it (and big chance you don't have access to it since it belongs to your ISP).