Sunoo / homebridge-smtp-motion

Converts SMTP messages into HTTP motion alerts that homebridge-camera-ffmpeg understands
BSD 2-Clause "Simplified" License
9 stars 3 forks source link

Raspbian: only binding to IPv6 #126

Closed ebowcock closed 3 years ago

ebowcock commented 3 years ago

Plugin is only binding to IPv6 loopback. Not listening on IPv4. I've removed the plugin, disabled IPv6 to get the results of ifconfig is seen below and reinstalled, but still it only listens on ipv6.

This is running homebridge on the raspbian image.

pi@homebridge:~ $ sudo netstat -tulpn | grep 2525 tcp6 0 0 :::2525 :::* LISTEN 1124/homebridge

pi@homebridge:~ $ ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet x.x.x.x netmask 255.255.255.0 broadcast x.x.x.x ether b8:27:eb:7b:22:39 txqueuelen 1000 (Ethernet) RX packets 1353 bytes 550359 (537.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1403 bytes 597650 (583.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 990 bytes 402271 (392.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 990 bytes 402271 (392.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0