If could be a temporary issue with Windows Store itself. Refresh the page after a while and see if it works. Run the built-in Windows troubleshooters like Windows Store Troubleshooter, Network Adapter ...
Unable to connect to server. Server may be offline or you may not be connected to the internet. As mentioned in the error message, there are two main reasons for this ...