Devices are prepared with the option of permissions so that our system stays safe from any harmful effects. You have to allow some permission such as full access of the network, creation of network sockets, allowing the device to remain awake, allowing the app to show the wifi option and some other