Change default Dashticz port 8082

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
misterleffe
Posts: 8
Joined: Thursday 22 November 2018 12:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Change default Dashticz port 8082

Post by misterleffe »

Hi!
Is it possible (should be), when Dashticz is installed with the default port 8082, and afterwards change the port? I have 4 RPi and they use ports 8080-8083. Daschticz used port 8082 when installing per default. In what file, is the port defined??

I want to have a free port, exclusive for Dashticz, so I can reach Dashticz from outside of my LAN, through portforwarding.

Someone :?:
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change default Dashticz port 8082

Post by Lokonli »

misterleffe wrote: Tuesday 31 March 2020 14:05 Hi!
Is it possible (should be), when Dashticz is installed with the default port 8082, and afterwards change the port? I have 4 RPi and they use ports 8080-8083. Daschticz used port 8082 when installing per default. In what file, is the port defined??

I want to have a free port, exclusive for Dashticz, so I can reach Dashticz from outside of my LAN, through portforwarding.

Someone :?:
By default Dashticz will take the first free port at 8080 or higher.

To change the port, first stop the Dashticz container:

Code: Select all

make stop
Edit (or create) the file Makefile.ini in the Dashticz root folder. Add the following content:

Code: Select all

PORT=8090
(all case sensitive)

You have to check whether the assigned port is available yourself.

Restart the Dashticz container:

Code: Select all

make start
easypeasy :)
misterleffe
Posts: 8
Joined: Thursday 22 November 2018 12:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change default Dashticz port 8082

Post by misterleffe »

Ok, thanks!

I'm not a pro in Raspberry/Linux, so how jump to root?
Can't go lower than /home/pi How to come further?

If I run command sudo make stop in /home/pi Raspberry says "No rule .... Stop. Sorry for my poor knowledge in Linux ....
Perhaps you can point me in the correct direction?

Thanks!
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change default Dashticz port 8082

Post by Lokonli »

Start with:
cd dashticz



Sent from my SM-A320FL using Tapatalk

misterleffe
Posts: 8
Joined: Thursday 22 November 2018 12:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change default Dashticz port 8082

Post by misterleffe »

Thanks! Working with "new" port!
Learn new things every day ....
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest