Page 1 of 1

changed router

Posted: Wednesday 18 September 2019 16:59
by geminiworks
Hi,

I have Domoticz running on my synolgy NAS. It is running fine butI have changed my router and I now have a different IP address for my network and thus NAS. it used to be 192.168.2.xxx and now it is 10.83.1.xxx
Domitcz is still running but I cannot access it anymore. I guess the old IP address is still in use by domoticz.

How chang I change things so I can access Domitcz again via the right IP address without reinstalling.
I don't want to need to reinstall and need to put all switches etc in it.

Re: changed router

Posted: Sunday 06 October 2019 17:12
by geminiworks
So, nobody knows how I can change the IP adres of domoticz?
It is running on my nas (which has now IP 10.83.1.142)
My nas had the IP 192.168.2.142
I cannot change my network to the old IP range.

I really want to access domoticz without doing a new install.

Re: changed router

Posted: Sunday 06 October 2019 18:02
by waaren
geminiworks wrote: Sunday 06 October 2019 17:12 So, nobody knows how I can change the IP adres of domoticz?
It is running on my nas (which has now IP 10.83.1.142)
My nas had the IP 192.168.2.142
I cannot change my network to the old IP range.

I really want to access domoticz without doing a new install.
If you installed domoticz using the package of Jadahl it does not have an own IP address. It has the same IP as your NAS. To distinct it from other services, you use the port number.
So access is something like http://10.83.1.142:8084

If you can access your NAS on the Command Line interface you could do a

Code: Select all

sudo netstat -tulpn | grep domo
to see the port numbers and an

Code: Select all

sudo ifconfig | grep -w Bcast
to show your internal IP addresses

On my system it shows
Spoiler: show

Code: Select all

sudo netstat -tulpn | grep domo
tcp6       0      0 :::8084                 :::*                    LISTEN      10452/domoticz
tcp6       0      0 :::8443                 :::*                    LISTEN      10452/domoticz
tcp6       0      0 :::6144                 :::*                    LISTEN      10452/domoticz

sudo ifconfig | grep -w Bcast
          inet addr:192.168.192.65  Bcast:192.168.192.255  Mask:255.255.255.0
          inet addr:192.168.192.66  Bcast:192.168.192.255  Mask:255.255.255.0