Проверьте ip json
$ curl 'https://api.ipify.org?format=json'
{"ip":"51.159.59.56"}
Important Ibex
$ curl 'https://api.ipify.org?format=json'
{"ip":"51.159.59.56"}