This error message means that there is some kind of problem with the network connection or configuration between your device and the router/ISP. It may also indicate a poor connection between your device and the router/ISP.
If none of the above help, try disabling IPv6 support and changing DNS settings.
If the problem persists on your Windows device, try clearing the application data.