benzman81 / homebridge-nukiio

Nuki.io support for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
42 stars 6 forks source link

Webhook listening only on IPv6 #25

Closed willyk0 closed 6 years ago

willyk0 commented 6 years ago

On certain OSes like CentOS, node creates only IPv6 sockets even if IPv6 is disabled.

On nukibridge.js, just replace:

}).bind(this)).listen(webHookServerPort)

with

}).bind(this)).listen(webHookServerPort, "0.0.0.0")

And then it forces to listen on IPv4.

benzman81 commented 6 years ago

Fixed with just released 0.7.7.