Fix local IP address discovery