Open ohuu opened 1 year ago
I managed to get this to work but I needed to change NUT_HOST to 127.0.0.1
instead of localhost
. I'm not sure why though!
It's probably because localhost resolves to ::1 (ipv6) instead of 127.0.0.1 (ipv4)
It's common for tools to alias localhost to try both instead of relying on the host DNS resolver. That could be added to the library
Even though all the connection settings are correct and I can use
upsc
to query my UPS I getConnection refused
when creating a new connection using the example code.To be specific I receive the following error: