fix IP address collection when behind NAT