Any command to causes connection error on windows 11

Running e.g.
iwr -useb | iex

iwr : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:1

  • iwr -useb | iex
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

This is on a clean windows 11 machine.

I installed it manually - and then got a similar error when running login:

flyctl : Error Post “”: read tcp
[2a00:23c7:9180:f01:7d92:e5a:6cbc:ee51]:49845->[2a09:8280:1:f28:246e:d6a:949:dbbf]:443: wsarecv: An existing connection was forcibly
closed by the remote host.
At line:1 char:1

  • flyctl auth login
  •   + CategoryInfo          : NotSpecified: (Error Post "htt...he remote host.:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError

It must be some issue with connecting… but I’m not sure what could be causing it - I’ve got internet access.