The issue requests a callback when the underlying HTTP server loses network connectivity. Investigate how AndServer currently monitors network state. The likely approach is to register a ConnectivityManager.NetworkCallback in the AndroidService class. Check existing code for network state handling (e.g., NetworkStateReceiver). Examine comments on this issue for suggested implementation details. Ensure the callback is triggered when the network disconnects and the IP is lost, and provide a graceful shutdown or notification to the user.