Use .internal_ip attribute rather than .ip