PanMat
(Pankaj)
1
Hi,
I am wondering if there is a way to bind HA UI access to a specific interface or listen selectively if there are multiple interfaces.
For example, if the machine has two network interfaces say eth0 or eth1, is there an option to access port 8123 only on eth0 and turn it off on eth1?
Thanks,
Pankaj
tjntomas
(Tomas Jansson)
2
You can try configuring server_host
in the http
section and bind it to the ip of your preferred interface. https://www.home-assistant.io/integrations/http/#server_host
1 Like
PanMat
(Pankaj)
3
Thanks Tomas, this is very helpful. I was hesitating messing with iptables on the machine but http option addresses the problem at hand.