Would this also work if multiple network interfaces are present? Why not let the user specify an IP address and/or listen to 0.0.0.0 by default?