Cannot connet to Server due to network error

Take a look through this Topic. It may help you:

Try this command in a powershell:
Test-NetConnection api.cryptlex.com -p 443

Does this return true or false? If false that means there’s something preventing you from getting to the port.

If the above returns false, let’s see if your DNS is at least working correctly:
Resolve-DnsName api.cryptlex.com

Are you getting an IP address returned? Should look like this:

Name                                           Type   TTL   Section    IPAddress
----                                           ----   ---   -------    ---------
api.cryptlex.com                               A      60    Answer     54.144.124.187
api.cryptlex.com                               A      60    Answer     54.144.46.201