changing port on Windows installation
Moderator: leecollings
-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
changing port on Windows installation
Hi,
I would like to change the port to which Domoticz is listening to. I see tutorials for other platforms but none for Windows.
How can I change it? Is it a config file? Or DB?
Thanks,
Mambobuzzz
I would like to change the port to which Domoticz is listening to. I see tutorials for other platforms but none for Windows.
How can I change it? Is it a config file? Or DB?
Thanks,
Mambobuzzz
-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
Re: changing port on Windows installation
Hi there! No one? Where is the configuration of the HTTPS under Winodws? Changing the .exe shortcut doesn't help. :/
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: changing port on Windows installation
Do you have made any search in the forumMambobuzzz wrote: ↑Saturday 03 November 2018 17:47 Hi there! No one? Where is the configuration of the HTTPS under Winodws? Changing the .exe shortcut doesn't help. :/

-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
Re: changing port on Windows installation
Hi,
For sure i did! I'm googling since days. I've tried the shortcut modification => application won't start any anymore. I've tried the registry modification => doesn't work. I've tried the service file under sysyem32/drivers modification => no luck. I've tried reinstalling (as service Arkwrigh as well as application) => doesn't change anything.
Where is the port configuration on Windows?
Thanks !
For sure i did! I'm googling since days. I've tried the shortcut modification => application won't start any anymore. I've tried the registry modification => doesn't work. I've tried the service file under sysyem32/drivers modification => no luck. I've tried reinstalling (as service Arkwrigh as well as application) => doesn't change anything.
Where is the port configuration on Windows?
Thanks !
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: changing port on Windows installation
Just tested on my installation on it's work:
-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
Re: changing port on Windows installation
Thanks for your answer. I've tried it again. But now deleted Domoticz. The port is the right one in the registry. But the application doesn't answer to it and keeps on answering on the old one! 

-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
Re: changing port on Windows installation
The good thing is that I'm now able to backup my dB. But there this port mood must be somewhere stored and keeps.
-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
Re: changing port on Windows installation
Or is it cached somewhere?
Egal what I do nothing chances...

-
- Posts: 8
- Joined: Saturday 20 October 2018 18:09
- Target OS: Windows
- Domoticz version:
- Contact:
-
- Posts: 13
- Joined: Monday 03 August 2015 12:29
- Target OS: Windows
- Domoticz version:
- Contact:
Re: changing port on Windows installation
Replying to this because I searched for quite a while and couldn't find any posts that had an answer, and it comes up first in a google search for changing the domoticz port on windows.
The setting is found in several places (domoticz.conf, install.sh, nssm)
The one which fixed it was nssm.
Go to domoticz folder and open a command prompt (shift+right click inside the folder, choose open command prompt or open powershell)
Then run
or for powershell:
It will pop up a window where you edit the service parameters, and you will see the startup parameters of the service defining the port number for http and ssl. I changed it from 443 to 0 and it appears to have disabled it (one of the config files says set it to 0 to disable it).
Hit save, restart the service, and it will now stop listening on 443.
The setting is found in several places (domoticz.conf, install.sh, nssm)
The one which fixed it was nssm.
Go to domoticz folder and open a command prompt (shift+right click inside the folder, choose open command prompt or open powershell)
Then run
Code: Select all
nssm.exe edit Domoticz
Code: Select all
.\nssm edit Domoticz
Hit save, restart the service, and it will now stop listening on 443.
Re: changing port on Windows installation
Im also struggling with this on a Windows installation where Domoticz starts at boot but not as a service. Cant find where are the settings for the ports since i want to disable HTTPS.
Under Task Manager's Startup, domoticz.exe has no arguments and if it is run manually, it listens on 443 port.
The only workaround so far is to disable domoticz.exe on the Task Manager, create a shortcut to domoticz.exe with the command line settings wanted and place it inside the Startup folder.
I also poke around Registry and didnt find anything relating to port 443... Where does it store this setting when Domoticz is setup to start at boot without being a service?
Thanks
Under Task Manager's Startup, domoticz.exe has no arguments and if it is run manually, it listens on 443 port.
The only workaround so far is to disable domoticz.exe on the Task Manager, create a shortcut to domoticz.exe with the command line settings wanted and place it inside the Startup folder.
I also poke around Registry and didnt find anything relating to port 443... Where does it store this setting when Domoticz is setup to start at boot without being a service?
Thanks
Who is online
Users browsing this forum: No registered users and 1 guest