This can occur if the local machine [::] is not added to the list of allowed listeners. Run the below to correct.
netsh http add iplisten ipaddress=::
winrm qc should not return the error.
C:\WINDOWS\system32>winrm qc
WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.
C:\WINDOWS\system32>
winrm enumerate winrm/config/listener should also return data.
C:\WINDOWS\system32>winrm enumerate winrm/config/listener
Listener
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 127.0.0.1, 169.254.67.225, 192.168.117.60, ::1, fe80::100:7f:f
ffe%15, fe80::5efe:169.254.67.225%14