Page 1 of 1

How to disable port 6144

Posted: Monday 27 May 2024 12:49
by BarryT
Hi all,

how to disable the 6144 port sharing in domoticz trough the init.d?
I have:

Code: Select all

DAEMON_ARGS="$DAEMON_ARGS -www 80"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 0"
This works great for port 80 and disables the https functionality wich i do not use, but i cant find an arg setting for the remote port.

i tried to fill in port 0 in the settings page, but its not persist after a reboot so it went back to 6144.
I ask this because i have another service running on port 6144 and this gives me a port conflict.
It is an pain in the ass to change the 6144 port of the other setting.

Thanks,
Barry

Re: How to disable port 6144

Posted: Monday 27 May 2024 15:07
by jvdz
Did you try updating the port setting to 0? That afaik will disable the remote sharing.
rshare.png
rshare.png (70.49 KiB) Viewed 1641 times

Re: How to disable port 6144

Posted: Monday 27 May 2024 15:42
by BarryT
jvdz wrote: Monday 27 May 2024 15:07 Did you try updating the port setting to 0? That afaik will disable the remote sharing.
rshare.png
Thanks Jos, i did but after reboot the port had changed back to 6144 and so was the conflict coming in..

Re: How to disable port 6144

Posted: Monday 27 May 2024 16:08
by jvdz
Just tried on a test docker setup, and it indeed seems that when put to 0, the Domoticz restart restores the 6144 port.
So maybe set it to something high like 16144 to get rid of the conflict?

Re: How to disable port 6144

Posted: Monday 27 May 2024 17:04
by BarryT
jvdz wrote: Monday 27 May 2024 16:08 Just tried on a test docker setup, and it indeed seems that when put to 0, the Domoticz restart restores the 6144 port.
So maybe set it to something high like 16144 to get rid of the conflict?
I can try that, Thanks!
Anyway, i was hoping to disable the function completely..

Re: How to disable port 6144

Posted: Tuesday 28 May 2024 9:35
by janpep
BarryT wrote: Monday 27 May 2024 17:04 Anyway, i was hoping to disable the function completely..
And otherwise your firewall will block it from outside traffic that you do not want?