Not able to change Phoscon web app port number

Hi,
I am running Domoticz 2026.1 en Phoscon on the same Raspberry. As most, if not everybody, I want to run the Phoscon web app on a different port than 80 (i.e. 8080), since Domoticz is on 80 already.

So I did: sudo systemctl edit deconz (also sudo systemctl edit deconz-gui) and after extensive Googling added

ExecStart=
ExecStart=/usr/bin/deCONZ --http-port=8080

in just the right place and restarted deCONZ.

Two questions:

  • why is this not working for me? Phoscon web app is still only reachable on port 80
  • what role plays the first “ExecStart=”, if any?

Thanks for any help you can offer.

Regards,

Michel.

Hello,
If you have a desktop OS > deconz-gui
If you have headless OS > deconz

If m right your command have edited the file called override.conf ?

Here some answer for you

Take care the port need to be free after the restart, else deconz will use another one in his list.

Hi Smanar,

Thank you for taking time and trying to help!

I’m on Debian Trixie and I have tried this with both headless and GUI (using VNC) version.

So, the instructions as you share them are exactly what I did. And indeed the commands mentioned did alter the override.conf file(s) correctly.
However, the port in use does not change for either one of them. I try changing to port 8080 which, I checked, is not in use.

So, what’s the thing I am doing wrong here or do not understand?

Thanks again.

Regards,

Michel.

Nope for me you are fine.
What is your deconz version ?

Can try direclty with command line to test, stop the service and just use

/usr/bin/deCONZ --http-port=8080

If it’s again the bad port can add --dbg-info=2, you will have info debug in live.

Smanar,

I have to apologies for wasting your time. Despite checking if port 8080 was or was not in use, I overlooked it was actually in use. Stuff is now running as it should.

I am running a fresh install of DeCONZ pulled 2 days ago.

Thanks again for investing time to help my helpless self!

Kind regards,

Michel