Set specific IP for Domoticz to use

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
jjbstolk
Posts: 7
Joined: Monday 09 December 2013 22:23
Target OS: Linux
Domoticz version: Beta's
Location: Netherlands
Contact:

Set specific IP for Domoticz to use

Post 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?
Domoticz on RPI3
RFXCom 433 USB
jjbstolk
Posts: 7
Joined: Monday 09 December 2013 22:23
Target OS: Linux
Domoticz version: Beta's
Location: Netherlands
Contact:

Re: Set specific IP for Domoticz to use

Post 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
Domoticz on RPI3
RFXCom 433 USB
jjbstolk
Posts: 7
Joined: Monday 09 December 2013 22:23
Target OS: Linux
Domoticz version: Beta's
Location: Netherlands
Contact:

Re: Set specific IP for Domoticz to use

Post 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.
Domoticz on RPI3
RFXCom 433 USB
jjbstolk
Posts: 7
Joined: Monday 09 December 2013 22:23
Target OS: Linux
Domoticz version: Beta's
Location: Netherlands
Contact:

Re: Set specific IP for Domoticz to use

Post by jjbstolk »

Does iptables filter based on fqdn?
Domoticz on RPI3
RFXCom 433 USB
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Set specific IP for Domoticz to use

Post by pepijn »

Use the command line option -wwwbind

For example:

Code: Select all

domoticz -wwwbind 192.168.0.20
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest