Page 1 of 1

Set specific IP for Domoticz to use

Posted: Friday 15 April 2016 23:24
by jjbstolk
On my Ubuntu server I have multiple IP's I would like domoticz to listen to 1 of those IP's. How can I do this?

Re: Set specific IP for Domoticz to use

Posted: Saturday 16 April 2016 11:09
by jjbstolk
I was hopeing for a simple solution... in Apache it's possibble toset the IP and Port on which the server is actieve , you can do the same in NGIX,

May I can do the same with a proxy setup: https://www.domoticz.com/wiki/Secure_Nginx_Proxy_Setup

Re: Set specific IP for Domoticz to use

Posted: Saturday 16 April 2016 12:57
by jjbstolk
Ik do not wont to block, ik have 2 webservice's which I both want to run on the same server. It is not a security matter.

Re: Set specific IP for Domoticz to use

Posted: Saturday 16 April 2016 14:04
by jjbstolk
Does iptables filter based on fqdn?

Re: Set specific IP for Domoticz to use

Posted: Sunday 17 April 2016 16:24
by pepijn
Use the command line option -wwwbind

For example:

Code: Select all

domoticz -wwwbind 192.168.0.20