fall back to default ipadress when failed to determine address by type