If you're seeing this error message despite having an active internet connection, there are two common causes. Try both fixes below.
Make sure you have selected TLS 1.2 under your machine's internet options:
Control Panel > Network & Internet > Internet Options/Properties
Under the "Advanced" tab, select the "TLS 1.2" check box and click OK.

It's possible your Windows firewall is blocking the connection. See the article "How to allow Immerse through Windows firewall?" in this Troubleshooting section for step-by-step instructions.