Concerning your iPhone, try disconnecting from the Wi-Fi and reconnecting. Conversely, you can also try resetting your router. I would also recommend enabling and disabling Airplane Mode and see if
1. Check if the App Store is down. From time to time Apple suffers from a server outage. It could be that the App Store is down and nobody can access it. Read more here: Is the App Store down?
VrbhjfP.
why is my app store not working