$ curl ifconfig.me/ip -> Endereço de IP
$ curl ifconfig.me/host -> Obter o hostname associado
$ curl ifconfig.me/ua -> User Agent
$ curl ifconfig.me/port -> Porta usada (source)