I want to modify OpenHAB in my Ubuntu launch script so that only local host listens on 8080 but I an not sure where to find this script and what to change.
I have configure the security as per https://www.openhab.org/docs/installation/security.html. This means that when I browse to the IP, it get challenged with a username and password, plus all traffic is encrypted. The issue I have however is that one can get around this by browsing to IP:8080.
I was told that I could fix this by only allowing localhost to browse via 8080 and than I would need to configure this in the startup scripts.
Looking at /etc/defaults/openhab2 I can see that OPENHAB_HTTP_ADDRESS=127.0.0.1 already.