pywinrm icon indicating copy to clipboard operation
pywinrm copied to clipboard

pywinrm does not seem to support access to ipv6 addresses?

Open bestzed1 opened this issue 3 years ago • 1 comments

When I use pywinrm to try to access an ipv6 address, I get the following error: HTTPConnectionPool(host='http', port=5985): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x2b23d61a6d90>: Failed to establish a new connection: [Errno -2] Name or service not known')) my code: win = winrm.Session('http://[ipv6_addr]:5985/wsman', auth=('Administrator', 'MyPassword'))

bestzed1 avatar Sep 16 '22 07:09 bestzed1

I have a similar issue with Ansible, but it may be due to running it on Ubuntu under WSL2, where ipv6 is broken for some reason.

Jaegermeiste avatar Nov 22 '22 01:11 Jaegermeiste