changed router

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

Moderator: leecollings

Post Reply
geminiworks
Posts: 4
Joined: Tuesday 21 April 2015 16:34
Target OS: NAS (Synology & others)
Domoticz version: 2.2362
Contact:

changed router

Post 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.
geminiworks
Posts: 4
Joined: Tuesday 21 April 2015 16:34
Target OS: NAS (Synology & others)
Domoticz version: 2.2362
Contact:

Re: changed router

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: changed router

Post 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

Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest