add method getExternalIp()