Hi,
I'd like to suggest -wwwbind to support multiple interface IP's being specified to LISTEN on.
I was told in the GitHub ticket, dzVents requires "hard-coded" connection to 127.0.0.1:80 and ran into a problem when I had to specify "-wwwbind 192.168.5.20" on a machine that has multiple network interfaces.
Currently worked around dzVents not working by changing /etc/init.d/domoticz.sh ...
from:
Code: Select all
...
DAEMON_ARGS="$DAEMON_ARGS -wwwbind 192.168.5.20"
...
Code: Select all
...
DAEMON_ARGS="$DAEMON_ARGS -wwwbind 127.0.0.1"
iptables -t nat -I PREROUTING -p tcp -i eth0 -d 192.168.5.20 --dport 80 -j DNAT --to-destination 127.0.0.1:80
sysctl -w net.ipv4.conf.eth0.route_localnet=1
...
Thanks for taking this into consideration.
Kind regards
Catfriend1