Automatic SERVER_IP recognition